title: To allow GET requests, set JsonRequestBehavior to AllowGet
body: <p>I have bound bulk records in a Kendo UI grid. The response is returned from Json.</p>
  
  <p>I am getting Error while using below format:</p>
  
  <p><strong>Problem Code : Method 1:</strong></p>
  
  <pre><code>public JsonResult KendoserverSideDemo(int pageSize, int skip=10)
  {
    using (var s = new KendoEntities())
    {
      var total = s.Students.Count();
  
      if (total != null)
      {
        var data = s.Students.OrderBy(x=&gt;x.StudentID).Skip(skip)
                             .Take(pageSize).ToList();
  
        return Json(new { total = total, 
                          data = data,
                          JsonRequestBehavior.AllowGet });
      }
      else
      {
        return null;
      }
    }
  }
  </code></pre>
  
  <p><strong>Method 2 : Working fine using this:</strong></p>
  
  <pre><code>public JsonResult KendoserverSideDemo(int pageSize, int skip=10)
  {
    using (var s = new KendoEntities())
    {
      var total = s.Students.Count();
  
      if (total != null)
      {
        var data = s.Students.OrderBy(x=&gt;x.StudentID).Skip(skip)
                             .Take(pageSize).ToList();
  
        return Json(data, JsonRequestBehavior.AllowGet);
      }
      else
      {
        return null;
      }
    }
  }
  </code></pre>
  
  <p>What is the problem in first Method 1?</p>