Usercontrol does not support Webmethod?

advertisements

I want to call a Scriptmanager webmethod in usercontrol. But Webusercontrol does not support WebMethod. Can it be achieved by Jquery Ajax or any other way?


You need to put that web method in your page's code behind class of the user control code.

For details take a look at this article http://www.4guysfromrolla.com/articles/031704-1.aspx