/ Published in: ASP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<input type="button" id="Button2" value="Press me" onclick="DoPostBack()" /> <script language="javascript" type="text/javascript"> function DoPostBack() { __doPostBack('Button2','My Argument'); } </script> string passedArgument = Request.Params.Get("__EVENTARGUMENT");
Comments
