title: ASP.NET button inside bootstrap modal not triggering click event
body: <p>I'm working in Bootstrap modal in my asp.net site, modal is working fine but the button btnSaveImage inside modal footer is not firing click event, I also have a masterpage and the form tag is in it.</p>
  <p>Here is my code:</p>
  <pre><code> &lt;a href=&quot;#dvUpload&quot; data-toggle=&quot;modal&quot;&gt;
     &lt;asp:Button runat=&quot;server&quot; ID=&quot;lnkUploadPics&quot; CssClass=&quot; btn-large Greengradiant&quot;
                                      Width=&quot;100%&quot; Text=&quot;Upload pictures&quot;&gt;&lt;/asp:Button&gt;
     &lt;/a&gt;
     &lt;div id=&quot;dvUpload&quot; class=&quot;modal hide fade&quot; tabindex=&quot;-1&quot; role=&quot;dialog&quot; aria-labelledby=&quot;myModalLabel&quot;  aria-hidden=&quot;true&quot;&gt;
       &lt;div class=&quot;modal-header&quot;&gt;
        &lt;button type=&quot;button&quot; class=&quot;close&quot; data-dismiss=&quot;modal&quot; aria-hidden=&quot;true&quot;&gt;
           ×&lt;/button&gt;
          &lt;h3 id=&quot;myModalLabel&quot;&gt;
               Upload Image&lt;/h3&gt;
             &lt;/div&gt;
               &lt;div class=&quot;modal-body&quot;&gt;
              &lt;div class=&quot;row-fluid&quot; style=&quot;padding-left: 10px; padding-right: 10px; padding-bottom: 20px;&quot;&gt; 
  &lt;div id=&quot;Upload&quot; class=&quot;span6&quot;&gt;
          &lt;asp:FileUpload ID=&quot;fuImage&quot; runat=&quot;server&quot; /&gt;
         &lt;img id=&quot;imgUPload&quot; runat=&quot;server&quot; src=&quot;&quot; /&gt;
                &lt;/div&gt;
               &lt;/div&gt;
              &lt;/div&gt;
            &lt;div class=&quot;modal-footer&quot;&gt;
             &lt;button data-dismiss=&quot;modal&quot; class=&quot;btn  btn-large&quot;&gt; Close&lt;/button&gt;
             &lt;asp:Button runat=&quot;server&quot; ID=&quot;btnSaveImage&quot; Text=&quot;Save Image&quot; CssClass=&quot;Greengradiant btn-large&quot; OnClick=&quot;btnSaveImage_Click&quot; /&gt;
              &lt;/div&gt;
           &lt;/div&gt;
  </code></pre>