views:

590

answers:

1

It's saying PageMethods is undefined.

+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
From what I read elsewhere, the WebMethod must be in the aspx file. It cannot be in an ascx.
tpower
It can't be on a master page either from what I've read.
infocyde