Call ASP.NET PageMethod/WebMethod with jQuery - returns whole page

后端 未结 8 1088
北荒
北荒 2020-11-27 02:57

jQuery 1.3.2, ASP.NET 2.0. Making an AJAX call to a PageMethod (WebMethod) returns the full/whole page instead of just the response. A breakpoint on the page method shows

8条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-27 03:10

    Do you know that Page Methods are working properly? If you use the the ScriptManager do they work?

    It sounds like you might be missing a web.config entry. Specifically the HttpModules section.

提交回复
热议问题