title: How to access page controls inside a static web method?
body: <p>I have called a Code behind method using jQuery using a static <code>WebMethod</code> method.</p>
  
  <p>That web method call was success but when tried to access a text box control it is giving error. An object reference is required for the non-static field, method, or property.</p>
  
  <pre><code>[WebMethod]    
  public static Savedata()
   {
       //code to insert data to DB
  
       //after inserting data successfully i need to change the text box text like following.        
        txtStatus.Text="Data Received";   
   }
  </code></pre>