I've been attempting to access a page method from a centralized module.
My first attempt was placing it in a master page, but that did not yield the desired result
Next, I tried incorporating it into a web service and followed these steps:
Added its path to the script manager located in the master page
Included a web service reference in the project
Configured the web.config file for the page methods
However, this approach also failed as I kept receiving an error stating "PageMethods is not defined" (JavaScript error)
- My next strategy was to try accessing the page methods via http request from JavaScript, but all I got was a server error response (500)
What am I overlooking?