in my projecti have \[code\] <asp:AsyncPostBackTrigger ControlID="btnAdd" EventName="Click" />\[/code\]\[code\]enter code here\[/code\]
Admin - *If Neccesery \[code\] <asp:ModalPopupExtender ID="ModalPopupExtender1" PopupControlID="Panel1" TargetControlID="btnAdd" BackgroundCssClass="modalBackground" runat="server"> </asp:ModalPopupExtender> <aspanel ID="Panel1" align="center" CssClass="modalPopup" runat="server"> <div class="body-reg-left"> <div class="body-top-reg"> <div class="he-reg"> <b>Admin </b>- *If Neccesery</div> </div> <table> <tr> <td> <asp:Label ID="lblCategoryID" runat="server" Text="" CssClass="lbF"></asp:Label> </td> <td> <asp:Label ID="lblstt" runat="server" Text=""></asp:Label> </td> <tr> <td> <asp:Label ID="Label1" runat="server" Text="Brand Name" CssClass="lbF"></asp:Label> </td> <td> <asp:TextBox ID="txtbrdName" runat="server"></asp:TextBox> </td> </tr> </tr> <tr> <td> <asp:Button ID="BtnBrdName" runat="server" Text="Add" Width="70px" OnClick="Button1_Click" /> <asp:Button ID="btncancel" runat="server" Text="Cancel" OnClick="btncancel_Click" /> </td> </tr> </table> </div> </aspanel> </div></div></ContentTemplate></asp:UpdatePanel>\[/code\]if i click the btnAdd the value inside category textbox should go to database and popup the window .... but in my project the btnADD button's click event is not firing and modalpopup is working.... please give me a solution..
Admin - *If Neccesery \[code\] <asp:ModalPopupExtender ID="ModalPopupExtender1" PopupControlID="Panel1" TargetControlID="btnAdd" BackgroundCssClass="modalBackground" runat="server"> </asp:ModalPopupExtender> <aspanel ID="Panel1" align="center" CssClass="modalPopup" runat="server"> <div class="body-reg-left"> <div class="body-top-reg"> <div class="he-reg"> <b>Admin </b>- *If Neccesery</div> </div> <table> <tr> <td> <asp:Label ID="lblCategoryID" runat="server" Text="" CssClass="lbF"></asp:Label> </td> <td> <asp:Label ID="lblstt" runat="server" Text=""></asp:Label> </td> <tr> <td> <asp:Label ID="Label1" runat="server" Text="Brand Name" CssClass="lbF"></asp:Label> </td> <td> <asp:TextBox ID="txtbrdName" runat="server"></asp:TextBox> </td> </tr> </tr> <tr> <td> <asp:Button ID="BtnBrdName" runat="server" Text="Add" Width="70px" OnClick="Button1_Click" /> <asp:Button ID="btncancel" runat="server" Text="Cancel" OnClick="btncancel_Click" /> </td> </tr> </table> </div> </aspanel> </div></div></ContentTemplate></asp:UpdatePanel>\[/code\]if i click the btnAdd the value inside category textbox should go to database and popup the window .... but in my project the btnADD button's click event is not firing and modalpopup is working.... please give me a solution..