title: Button Click function from modal on code behind
body: <p>i have this modal :</p>
  
  <pre><code>&lt;div class="modal fade" id="ModalServiceCalls" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
          aria-hidden="true"&gt;
          &lt;div class="modal-dialog modal-sm"&gt;
              &lt;div class="modal-content"&gt;
                  &lt;div class="modal-header"&gt;
                      &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true" dir="rtl" id="CloseBTN"&gt;
                          &amp;times;&lt;/button&gt;
                      &lt;h4 class="modal-title"&gt;
                          service call&lt;/h4&gt;
                  &lt;/div&gt;
                  &lt;div class="modal-body"&gt;
                  &lt;/div&gt;
                  &lt;br /&gt;
                  &lt;asp:Button ID="ServiceCallBTN" runat="server" Text="סגור קריאה" CssClass="btn btn-default"
                      Font-Bold="true" /&gt;
                  &lt;div class="modal-footer"&gt;
                      &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;
                          close&lt;/button&gt;
                      &lt;button type="button" class="btn btn-primary"&gt;
                          save changes&lt;/button&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;!-- /.modal-content --&gt;
          &lt;/div&gt;
          &lt;!-- /.modal-dialog --&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>I want to create a function in code behind that will start with this button click. 
  This is the code behind function:</p>
  
  <pre><code> protected void ServiceCallBTN_Click(object sender, EventArgs e)
   {
          Response.Write("checking");
   }
  </code></pre>
  
  <p>The problem is that this function is not even fired.</p>