title: __doPostBack() is causing post back but not calling button click event in aspx page
body: <p>I am using a aspx page which is having a button. </p>
  
  <pre><code> &lt;asp:Button ID="savebtn" runat="server" OnClick="savebtn_Click" Style="display: none" /&gt;
  </code></pre>
  
  <p>There are two ways to cause post back as shown in the below code.</p>
  
  <pre><code> $(document).ready(function () {
                 var id = document.getElementById('&lt;%= savebtn.ClientID %&gt;');
         //Cause post back &amp; calls page load but not savebtn_Click event
              __doPostBack('&lt;%= savebtn.ClientID  %&gt;', 'OnClick');
  
      });
  
      $(document).ready(function () {
                       var id = document.getElementById('&lt;%= savebtn.ClientID %&gt;');
             //Cuase postback &amp; calls both PageLoad and savebtn_Click events.
             //If I use method, There is no way to know which control caused postback
              id.click();
  
      });
  </code></pre>
  
  <p>When I use __doPostBack, It calls page load event but not btn click event.</p>
  
  <p><strong>Is there any way using __doPostBack to trigger Page Load as well as savebtn_Click event.</strong></p>
  
  <p>If I use id.click(); as shown above, I am able to call savebtn_Click but it does not tells me which control caused the post back.</p>