locked
Event Not Triggered When using UpdatePanel RRS feed

  • Question

  • Am having 2 panels.. each will be poped after clicking 2 linkbuttons...and viewed through modal popup extender. Problem is having 2 buttons first button event is triggerd and it goes to breakpoint but second panel button event is not raised .....any one suggest how to do it. See the design below.

    <asp:Panel ID="pnlorder" BackColor="GrayText" ForeColor="White" CssClass="modalPopup"
    runat="server" Height="450px" Width="750px" ScrollBars="Vertical">
    <asp:UpdatePanel ID="UpdatePanel3" runat="server">
    <ContentTemplate>
    <table>
    <tr>
    <td>
    <asp:Button ID="btn_saveorder" runat="server" Width="75px" CssClass="Button" Text="SAVE"
    OnClick="btn_saveorder_Click" />
    </td>
    </tr>
    </table>
    </ContentTemplate>
    <Triggers>
    <asp:AsyncPostBackTrigger ControlID="btn_saveorder" />
    </Triggers>
    </asp:UpdatePanel>
    </asp:Panel>

    <asp:Panel ID="pnlcallback" runat="server" BackColor="GrayText" CssClass="modalPopup"
    Height="250px" Width="550px" ScrollBars="Vertical">
    <asp:ImageButton ID="btnclose" runat="server" ToolTip="Close" ImageUrl="~/images 1.jpg"
    Height="23px" Width="19px" />
    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
    <ContentTemplate>
    <table>
    <tr>
    <td align="right" colspan="3">
    <asp:Button ID="btnsaveCB" runat="server" Width="60px" CssClass="Button" Text="SAVE"
    OnClick="btnsaveCB_Click" />
    </td>
    </tr>
    </table>
    </ContentTemplate>
    <Triggers>
    <asp:AsyncPostBackTrigger ControlID="btnsaveCB" />
    </Triggers>
    </asp:UpdatePanel>
    </asp:Panel>


    Thanks SABARINATHAN87

    • Moved by Caillen Tuesday, September 3, 2013 5:45 AM
    Monday, September 2, 2013 7:37 AM

Answers

  • Hi Sabarinathan87,

    I recommend that you post your question in ASP.NET forum. You'll get more help there.

    Thanks for your understanding.


    Caillen
    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    • Proposed as answer by Just Karl Thursday, September 12, 2013 9:39 PM
    • Marked as answer by Just Karl Friday, September 20, 2013 8:05 PM
    Tuesday, September 3, 2013 5:45 AM