title: Accessing code behind functions from WebMethod
body: <p>I have a code behind page that has several method; one of them is a page method.</p>
  
  <pre><code>[WebMethod]
  public static void ResetDate(DateTime TheNewDate)
  {
      LoadCallHistory(TheNewDate.Date);
  }
  
  protected void LoadCallHistory(DateTime TheDate)
  { bunch of stuff }
  </code></pre>
  
  <p>The method LoadCallHistory works fine when the page loads and I can call it from other methods inside the page. However, in the web method part, it gets underlined in red with the error "an object reference is required for the non-static field".</p>
  
  <p>How do you access functions from the page method part of the code?</p>
  
  <p>Thanks.</p>