title: Ajax call not returning response from c# code
body: <p>Here is my jquery code</p>
  
  <pre><code>var ajaxUrl = "AjaxCallHandler.aspx";
  function _init_Chart() {
  
  $.ajax({
      type: "GET",        //GET or POST or PUT or DELETE verb
      url: ajaxUrl,       // Location of the service
      data: "OpCode=GetCallAverageReportForGraph&amp;Parms=DeptId^17~Month^10~Year^2012",         //Data sent to server
      contentType: "",    // content type sent to server
      dataType: "string",     //Expected data format from server
      processdata: true,  //True or False
      success: function (responseString) {//On Successful service call
          alert(responseString);
      }
  });
  
  return false;
  </code></pre>
  
  <p>}</p>
  
  <p>Here is my c# code</p>
  
  <pre><code> protected void Page_Load(object sender, EventArgs e)
      {
          string responseMessage = "";
          string status = "SUCCESS";
          try
          {
              if (Request.QueryString["OpCode"] == null)
              {
                  throw new Exception("Invalid Request, OpCode missing.");
              }
              string operationRequested = Request.QueryString["OpCode"];
              string Params = Request.QueryString["Parms"];
              switch (operationRequested)
              {
                  case "GetCallAverageReportForGraph":
                      responseMessage = GetCallAverageReportForGraph(Params);
                      break;
                  case "GetCallAverageReportDetails":
                      responseMessage = GetCallAverageReportDetails(Params);
                      break;
              }
          }
          catch (Exception exp)
          {
              status = "EXCEPTION";
              responseMessage = exp.Message;
          }
          Response.ClearContent();
          Response.ClearHeaders();
          Response.Write(responseMessage);
      }
  </code></pre>
  
  <p>I tried putting a breakpoint in the c# code. It is writing <code>Response.Write</code> from c# code but I'm unable to receive the response in jquery code. Can any one point out the issue?</p>