title: max json length error when populating telerik grid
body: <p>I am trying to populate a telerik grid from a table based on date selected.</p>
  
  <p>I get an error message:</p>
  
  <pre><code>System.InvalidOperationException: Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property
  </code></pre>
  
  <p>Is there any other way I can populate Telerik grids on client events? </p>
  
  <p>view:</p>
  
  <pre><code>        &lt;%= Html.Telerik().DatePicker().Min("01/01/2011")
              .Name("Date")
              .ClientEvents(e =&gt; e.OnChange("Date_onChange"))
           %&gt;       
  
      &lt;div&gt;
      &lt;%= Html.Telerik().Grid&lt;DataAccess.Entity.Dto.ReportData&gt;()
              .Name("tblGrid")
              .DataBinding(databinding =&gt; databinding.Ajax()
              .Select("MasterDataGrid", "Report"))
              .Columns(col =&gt;
                  {
                      col.Bound(f =&gt; f.ID).Title("ID Number");
                      col.Bound(f =&gt; f.Date).Title("Date");
                  })
                  .Filterable(filter =&gt; filter.Enabled(true))
                  .Pageable(page =&gt; page.PageSize(200))
                  .Sortable(sort =&gt; sort.Enabled(true))                    
      %&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>JavaScript:</p>
  
  <pre><code>function Date_onChange() {
  
      var link = '/Report/DataGrid';
      var Date = $("#Date").val().toString();
      $.ajax({
          type: 'POST',
          url: link,
          data: { date: Date },
          dataType: 'json',
          success: function (result) {
              $("#tblGrid").data("tGrid").dataBind(result.data);
          },
          error: function (result) {
              $("#ErrorMessage").text(result.message);
          }
      });
  
  };
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>    [HttpPost]
      [GridAction]
      public ActionResult DataGrid(DateTime date)
      {
         var model = context.GetReportData_tblData(date);
          return View(new GridModel { Data = model });
      }
  </code></pre>