Wednesday, March 28, 2012

PageMethods call from user controls (ascx)


i am looking for a way to call webmethods defined in an (ascx) user control (not a web form page aspx) using PageMethods.{MethodName}. For now, i only get a javascript error saying that PageMethods is not defined. Is there a different syntax to acces thos methods or is it just not possible ?

Thank you for your help


Any answer would be appreciated.

Thank you



currently, you can only call web service methods or page methods (and in this case, the methods must be static)

No comments:

Post a Comment