title: request.querystring not found in static method
body: <p>I have static method in which I want to extract <code>querystring</code> value of the request. But it gives me <code>null</code> value when i am calling it from <code>webmethod</code>. Below is the some code</p>
  
  <pre><code>public static int GetLatestAssetId()
      {
          int itemid=0;
          if (HttpContext.Current.Request.QueryString["itemId"] != null)
          itemid = Convert.ToInt32(HttpContext.Current.Request.QueryString["itemId"]);
          return itemid;
      }
  
  [WebMethod]
  
          public static string GetContactData()
          {
  
              GetLatestAssetId();
              return "Success"
          }
  </code></pre>
  
  <p>I am calling this webmethod from the <em>ajax call</em>.It works fine in page load but not in static method. How do I use this in static method. Please assist.</p>