原因:是命名空间的问题
注意事项:

1.
pageload()方法中
AjaxPro.Utility.RegisterTypeForAjax(typeof(WebApplication2.AjaxMethod));
2.
AjaxMethod类中
[AjaxPro.AjaxMethod(AjaxPro.HttpSessionStateRequirement.ReadWrite)]

3.
web.config中
<httpHandlers>
        <add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro"/>
      </httpHandlers>
4.global.asax的Application_Start方法中

AjaxPro.Utility.HandlerPath = "ajaxpro";

相关文章:

  • 2021-11-14
  • 2021-09-14
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-05
  • 2021-09-12
  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
相关资源
相似解决方案