Currently, I have an asp button on my webpage. In the code behind within the Page_Load method, I am assigning some JavaScript calls in the following manner.
btnExample.OnClientClicking = "functionOne(1,2);"+"function2()";
However, I am encountering a problem where I want to pass the EventArgs received by the Page_Load method to function2(). This is because in function2(), I need to call...
eventArgs.set_cancel(true).
If anyone has any suggestions or solutions, I would greatly appreciate the help. Thank you.