title: Passing eventArgs to javascript from ASP.NET C# from OnClientClick
body: <p>I have an asp button on my page, in the Page_Load on the code behind, I am binding some javascript calls as follows.</p>
  
  <pre><code>btnExample.OnClientClicking = "functionOne(1,2);"+"function2()";
  </code></pre>
  
  <p>The problem is I would like to be able to pass the EventArgs passed to the Page_Load as in function2() I wish to call...</p>
  
  <pre><code>eventArgs.set_cancel(true).
  </code></pre>
  
  <p>Would appreciate any help.</p>