title: Call server-side method in the onclick method in jQuery
body: <p>I have one method in backend coding using c#. Now, I want to call it on onClick event of button using jQuery which is in design part.
  <br><br>
  Please help me to solve the problem.<br><br>
  Check out below code for example.<br></p>
  
  <p><strong>.aspx Page<bR></strong></p>
  
  <pre><code>$("#SubmitButton").click(function() {
   // Call method BindData();
  });
  </code></pre>
  
  <p><bR>
  <strong>.aspx.cs Page<br></strong></p>
  
  <pre><code>public void BindData()
  {
        // Code to bind datalist
  }
  </code></pre>