I\'m writing a web page in ASP.NET. I have some JavaScript code, and I have a submit button with a click event.
Is it possible to call a method I created in ASP with
Add this line to page load if you are getting object expected error.
ClientScript.GetPostBackEventReference(this, "");