In ASP.Net, can I call a custom WebMethod control using Javascript and PageMethods?

He says the PageMethods parameter is undefined.

+1


a source to share


1 answer


Yes. You definitely can. Just make sure the WebMethod is declared as public static

, you specified it using the correct namespace, and the property EnablePageMethods

for the parameter is ScriptManager

set to true

.



0


a source







All Articles