Call ASP.NET PageMethod/WebMethod with jQuery - returns whole page
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.
I was missing one line from my web.config:
<system.web> <httpModules> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> </httpModules></system.web>
I encountered this problem again today for a different reason: I had misspelled "application" in
contentType: 'application/json'
And was getting a full-page response instead of a call to the WebMethod.