title: Button Click Event is not firing but modalpopupextender is working
body: <p>in my project
  i have </p>
  
  <p>
      </p>
  
  <pre><code> &lt;asp:AsyncPostBackTrigger ControlID="btnAdd" EventName="Click" /&gt;
  </code></pre>
  
  <p><code>enter code here</code>
      <br>
      
          
              
                  
                      <b>Admin </b>- *If Neccesery
              
              
                  
                      
                          
                      
                      
                          
                      
                  
                  
                      
                          
                      
                  
              </p>
  
  <pre><code>        &lt;asp:ModalPopupExtender ID="ModalPopupExtender1" PopupControlID="Panel1" TargetControlID="btnAdd"
              BackgroundCssClass="modalBackground" runat="server"&gt;
          &lt;/asp:ModalPopupExtender&gt;
          &lt;asp:Panel ID="Panel1" align="center" CssClass="modalPopup" runat="server"&gt;
          &lt;div class="body-reg-left"&gt;
          &lt;div class="body-top-reg"&gt;
              &lt;div class="he-reg"&gt;
                  &lt;b&gt;Admin &lt;/b&gt;- *If Neccesery&lt;/div&gt;
          &lt;/div&gt;
              &lt;table&gt;
                  &lt;tr&gt;
                      &lt;td&gt;
                          &lt;asp:Label ID="lblCategoryID" runat="server" Text="" CssClass="lbF"&gt;&lt;/asp:Label&gt;
                      &lt;/td&gt;
                      &lt;td&gt;
                       &lt;asp:Label ID="lblstt" runat="server" Text=""&gt;&lt;/asp:Label&gt;
                      &lt;/td&gt;
                      &lt;tr&gt;
                        &lt;td&gt;
                          &lt;asp:Label ID="Label1" runat="server" Text="Brand Name" CssClass="lbF"&gt;&lt;/asp:Label&gt;
                      &lt;/td&gt;
                      &lt;td&gt;
                          &lt;asp:TextBox ID="txtbrdName" runat="server"&gt;&lt;/asp:TextBox&gt;
                      &lt;/td&gt;
                      &lt;/tr&gt;
  
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td&gt;
                          &lt;asp:Button ID="BtnBrdName" runat="server" Text="Add" Width="70px" OnClick="Button1_Click" /&gt;
                          &lt;asp:Button ID="btncancel" runat="server" Text="Cancel" OnClick="btncancel_Click" /&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/table&gt;
              &lt;/div&gt;
          &lt;/asp:Panel&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;/ContentTemplate&gt;
  
  &lt;/asp:UpdatePanel&gt;
  </code></pre>
  
  <p><strong>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..</strong></p>