title: Onclientclick is not working for in asp button
body: <p>Onclientclick is not working for me in asp button. The button is present inside update panel</p>
  
  <pre><code>    &lt;asp:UpdatePanel ID="UpLoad" runat="server"&gt;
  &lt;ContentTemplate&gt;
       &lt;asp:Button ID="btnProcess" runat="server" Text="Process" OnClientClick="alert('hi');" onClick="btnProcessing_Click" /&gt;
  &lt;/ContentTemplate&gt;
  &lt;Triggers&gt;
      &lt;asp:PostBackTrigger ControlID="btnProcess" /&gt;
  &lt;/Triggers&gt;
  </code></pre>
  
  <p></p>
  
  <p>Can someone help me where am i going wrong.</p>