title: Kendo Grid Read Action Not Passing Data To Controller Via the .Data Method Call
body: <p>I have a Kendo Grid (MVC Razor) that I am trying to have pass extra data to the controller via the .Data call off of the Read method:</p>
  
  <pre><code>   @(Html.Kendo().Grid&lt;AssignedSiteGridPoco&gt;()
          .Name("UnAssignedSiteGrid")
          .Filterable()
          .Sortable()
          .Pageable(pageable =&gt; pageable
              .Refresh(true)
              .PageSizes(true)
              .ButtonCount(5))
          .Columns(columns =&gt;
          {
              columns.Bound(p =&gt; p.SiteId).Hidden();
              columns.Bound(p =&gt; p.SiteName).Title("Site Name").Width(180);
              columns.Bound(p =&gt; p.City).Title("City").Width(80);
              columns.Bound(p =&gt; p.StateName).Title("State Name").Width(100);
              columns.Command(command =&gt; command
                                        .Custom("Add")
                                        .Click("unassignedSiteGridClick")
                             ).Width(90);
          })
          .Scrollable()
          .Selectable(selectable =&gt; selectable.Mode(GridSelectionMode.Single))
          .Resizable(resize =&gt; resize.Columns(true))
          .Events(events =&gt;
          {
              //events.Change("GridChange");
              //events.DataBound("OnDataBound");
          })
          .DataSource(dataSource =&gt; dataSource
              .Ajax()
              .Model(model =&gt;
              {
                  model.Id(p =&gt; p.SiteId);
                  model.Field(p =&gt; p.SiteName);
                  model.Field(p =&gt; p.City).Editable(false);
                  model.Field(p =&gt; p.StateName).Editable(false);
  
              })
              .PageSize(15)
              .Read(read =&gt; read.Action("GetUnassignedSiteGridDataList",  "Manager").Data("getUserRightName"))
  
          ))
  </code></pre>
  
  <p>The Javascript block, placed above the grid div, is as follows:</p>
  
  <pre><code> function getUserRightName() {
        return
        {
            UserRightName : "2"
        };
   }
  </code></pre>
  
  <p>And the controller:</p>
  
  <pre><code> public JsonResult GetUnassignedSiteGridDataList([DataSourceRequest]DataSourceRequest request, string UserRightName)
  {
      var model = new AssignedSiteGridPoco();
      var siteList = _managerPresentationService.GetUnassignedSiteGridDataList(model);
      return Json(siteList.ToDataSourceResult(request));
  }
  </code></pre>
  
  <p>The string value being passed from the view's read method is null in the "UserRightName" string.  According to the examples, it should pass back the text value "2"  My Version of Kendo is: 2014.2.807 InternalBuild.  Is there a problem in this build in this area?</p>
  
  <p>Thanks, 
  Steven</p>