title: How to get XMLHTTPRequest object on server side in asp.net c#
body: <p>i want to send the json data from client side(javascript) to server side(ASP.NET,C#) using HTML5. i am using XMLHttpRequest Object to send data to the server by using the following javascript code. i am executing this code behind the html button click.</p>
  
  <pre><code>var xhr = new XMLHttpRequest();
  var jsonString = JSON.stringify(jsonObj);
  xhr.open('GET', '/HTML5_Crud.aspx?obj='+jsonString, true);
  xhr.send(); 
  </code></pre>
  
  <p>on server side (ASPX.cs) file i am using the following code in Page_Load method to get data from client.</p>
  
  <pre><code>if (Request.QueryString["obj"] != null)
  {
      jsonStr= Convert.ToString(Request.QueryString["obj"]);
      lblTest.Text = "the json is: "+ jsonStr;
  }
  </code></pre>
  
  <p>but when i run the application and clicks the button my label is not updated with the latest data. it still the same as default text i set inline. please help me how can i resolve this issue.</p>