i have this button on my C# context:
<button id='Update' OnServerClick='UpdateCart'>Update</button>
now I wanna to pass parameter (num) to (UpdateCart) Method :
protected void UpdateCart(object sender, EventArgs e)
{
Response.Cookies["Cart"]["Qty(" + num + ")"] = Request.Form["Qty" + num];
}
How I can do that ?