Hi,
I've red the entire thread : PageMethods and now I'm here with this issue that PageMethods is undefined or today after 9 years there's an error message in Visual Studio 2013 Community sayingCannot find name 'PageMethods'. The image below is showing the error and this is a Typescript file but I tried a .JS directly and I get the same problem
The ASPX has the ScriptManager, it has the EnablePageMethods="true", the method ispublic static with the WebMethod attribute as it should and the javascript is added in the header so I really don't see why PageMethods isn't recognized in JS