adsense

Tuesday, November 3, 2009

ASP Net - 'PageMethods' is undefined

For this make sure you have following things set

1)PageMethods must be exposed with the public access modifier and static.
E.g.
[WebMethod]

public static bool foo

2)Set EnablePageMethods="true" on your ScriptManager.






No comments:

Post a Comment