title: Explicit __doPostBack()
body: <p>I have explicitly added __doPostBack() on Button onclientClick event .</p>
  
  <pre><code>&lt;asp:Button ID="Button1" runat="server" Text="Button" 
           OnClientClick="__doPostBack('Button1','')"/&gt; 
  </code></pre>
  
  <p>When I am clicking the button the Page_Load is calling twice.
  But if I am adding below code inside page load ,page load is calling only once on button click.</p>
  
  <pre><code>Button1.Attributes.Add("onClientClick", "__doPostBack('Button1','')");
  </code></pre>
  
  <p>Again if i add with return false it is giving me it calling only once page load on click</p>
  
  <pre><code> &lt;asp:Button ID="Button1" runat="server" Text="Button" 
           OnClientClick="__doPostBack('Button1','');return false;"/&gt;
  </code></pre>
  
  <p>and return true is giving me again twice page load ,but adding return true or false in attribute.add code is giving the same result ,only one page load call.</p>
  
  <pre><code>Button1.Attributes.Add("onClientClick", "__doPostBack('Button1','');return true;");
  </code></pre>
  
  <p>I am not able to understand what is going on exactly when I tried to add __doPostBack in different way.
  Please help.
  Thanks</p>