Unable to call Javascript function onload a asp:button using ASP.NET4
<p>I am unable to call a Javascript function on the OnLoad event of a asp:button</p>

<p>HTML</p>

<pre><code>&lt;asp:Button ID="btnFromCalOpen" runat="server" Text=" &amp;gt; "   onLoad = "AllHide()"  OnClientClick ="ShowCal()"  /&gt;
</code></pre>

<p>Javascript</p>

<pre><code>  function AllHide() {
        alert("Hello");
  }  
</code></pre>

<p>Please Help</p>
