1.检查web.config中是否加入对于asp.net ajax的支持的代码
2.检查ScriptManager中是否设置了EnablePageMethods=true
3.检查后台cs中是否引用的命名空间System.Web.Services或者加入了[System.Web.Services.WebMethod]
4.后台函数必须是public static
转载于:https://www.cnblogs.com/nextsoft/articles/1493578.html
转载于:https://www.cnblogs.com/nextsoft/articles/1493578.html