I want to call a Scriptmanager webmethod in usercontrol. But Webusercontrol d开发者_高级运维oes 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 https://web.archive.org/web/20211020131232/https://www.4guysfromrolla.com/articles/031704-1.aspx
I would put your web methods in web service.asmx file as it is easier to manage that way.
精彩评论