title: Kendo UI Grid - Additional Data - Json Array - MVC Model Binder?
body: <p>Using the Client Data Processing during Ajax Binding found in <a href="http://docs.kendoui.com/getting-started/using-kendo-with/aspnet-mvc/helpers/grid/ajax-binding#enable-client-data-processing-during-ajax-binding" rel="nofollow">Kendo Docs</a>, I'm finding it very difficult to map the Json Array to the MVC ModelBinder. </p>
  
  <pre><code>@(Html.Kendo()
      .Grid&lt;PickerDocumentViewModel&gt;()
      .Name("DocumentAttachments")
      .DataSource(dataSource =&gt; dataSource
          .Ajax()
          .Read(read =&gt; read
              .Action("PickerDocuments", "DocumentRepository")
              .Data("GetSelectedDocuments")))
      .Columns(columns =&gt;
      {
          ...
      }))
  </code></pre>
  
  <p>The JavaScript function GetSelectedDocuments returns a Json array of PickerDocumentViewModel. Using FireBug, I see the Post data looks most unusual:</p>
  
  <pre><code>0[Description]  Doug
  0[EditedDateTime]   Fri Sep 13 2013 15:06:44 GMT-0400 (Eastern Standard Time)
  0[FileExtension]    txt
  1[Description]  a
  1[EditedDateTime]   Mon Sep 09 2013 18:21:56 GMT-0400 (Eastern Standard Time)
  1[FileExtension]    docx
  </code></pre>
  
  <p>As opposed to how MVC expects lists of objects to come in:</p>
  
  <pre><code>[0].Description Doug
  </code></pre>
  
  <p>So, how might I either 
  1. Change the way Kendo forms the post data to play with standard MVC List ModelBinding?</p>
  
  <pre><code>    public ActionResult PickerDocuments([DataSourceRequest]DataSourceRequest request, IList&lt;PickerDocumentViewModel&gt; viewModels)
      {
  </code></pre>
  
  <ol>
  <li>Or teach MVC how to ModelBind the way Kendo is sending it?</li>
  </ol>