PageMethods未定义"或"对象不支持此属性或方法"解决方法
1.检查web.config中是否加入对于asp.net ajax的支持的代码
2.检查ScriptManager中是否设置了EnablePageMethods=true
3.检查后台cs中是否引用的命名空间System.Web.Services或者加入了[System.Web.Services.WebMethod]
4.后台函数必须是public static
PageMethods未定义"或"对象不支持此属性或方法"解决方法
1.检查web.config中是否加入对于asp.net ajax的支持的代码
2.检查ScriptManager中是否设置了EnablePageMethods=true
3.检查后台cs中是否引用的命名空间System.Web.Services或者加入了[System.Web.Services.WebMethod]
4.后台函数必须是public static