It's saying PageMethods is undefined.
views:
590answers:
1
+1
A:
Yes. You definitely can. Just make sure that the WebMethod has been declared as public static, you have referred it using the proper namespace, and EnablePageMethods property of the ScriptManager is set to true.
Kirtan
2009-05-25 09:01:35
From what I read elsewhere, the WebMethod must be in the aspx file. It cannot be in an ascx.
tpower
2009-05-25 09:23:54
It can't be on a master page either from what I've read.
infocyde
2009-09-15 16:37:05