title: How to pass parameters to click event method using c#
body: <p>i have this button on my C# context: </p>
  
  <pre><code>&lt;button id='Update' OnServerClick='UpdateCart'&gt;Update&lt;/button&gt;
  </code></pre>
  
  <p>now I wanna to pass parameter (num) to  (UpdateCart) Method :</p>
  
  <pre><code>protected void UpdateCart(object sender, EventArgs e)
  {
  
      Response.Cookies["Cart"]["Qty(" + num + ")"] = Request.Form["Qty" + num];
  }
  </code></pre>
  
  <p>How I can do that ?</p>