AjaxPro
第一步配置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();
}