title: Referencing Page Method in ASP.Net Web Service
body: <p>I am trying to access a page method from centralized module.</p>
  
  <ul>
  <li><p>I tried putting it in a master page it didn't work</p></li>
  <li><p>I tried putting it in a web service and did the following </p>
  
  <ol>
  <li><p>added its path to the script manager that its existed in the master page</p></li>
  <li><p>added a web service reference to the project </p></li>
  <li><p>configured the web.config for the page methods </p></li>
  </ol></li>
  </ul>
  
  <p>Also didn't work (kept telling me that "PageMethods is not defined" &lt;- JavaScript error)</p>
  
  <ul>
  <li>tried to access the page methods through http request from Javascript, got server error response (500)</li>
  </ul>
  
  <p>What am I missing? </p>