AjaxPro

it2022-05-09  30

第一步配置Web.config

<location path="ajaxpro"> <system.web> <httpHandlers> <add verb="*" path="*.ashx" type="AjaxPro.AjaxHandlerFactory,AjaxPro"/> </httpHandlers> </system.web> </location>

第二步别忘了为AjaxPro注册事件

  Utility.RegisterTypeForAjax(typeof(_Default));

第三别忘了关键字,否则无法调用

[AjaxMethod] public static List<Class> ClassTable() { return ClassBLL.ClassTable(); }

转载于:https://www.cnblogs.com/btmc/p/3748791.html

相关资源:Ajaxpro.dll

最新回复(0)