title: Kendo grid update - update click of any row shows 1st row details
body: <p>I am facing an issue with Kendo grid inline editing, The issue is even though I update any row, 1st row data is displayed in grid, Any help on this?</p>
  
  <p>Before update</p>
  
  <p><img src="https://i.stack.imgur.com/cVSdS.png" alt="enter image description here"></p>
  
  <p>After update.</p>
  
  <p><img src="https://i.stack.imgur.com/HiC3V.png" alt="enter image description here"></p>
  
  <p>Interestingly the object I return from the controller does have the correct data</p>
  
  <p>Controller code </p>
  
  <pre><code>    [AcceptVerbs(HttpVerbs.Post)]
      [ValidateAntiForgeryToken]
      [ActionSessionState(System.Web.SessionState.SessionStateBehavior.Required)]
      [OutputCache(Duration = 0, VaryByParam = "none")]
      public ActionResult _SaveBatchEditingintegrate([DataSourceRequest] DataSourceRequest request)
      {
          var UPObj = SessionFacade.UserProfile as UserProfile;
  
          try
          {
              IntegrationRate objInteg = new IntegrationRate();
              TryUpdateModel(objInteg);
              if (objInteg.PeriodID != 0)
              {
                  var Integrationrate = (from p in _draftManagecompany.IntegrationRates where p.PeriodID == objInteg.PeriodID select p).First();
                  TryUpdateModel(Integrationrate);
                  if (Integrationrate.Rate &gt; 100) //set 100 as default
                  {
                      Integrationrate.Rate = 100;
                  }
              }
              LoadResourceJSArray();
          }
          catch (Exception ex)
          {
              // Adding related additional information along with exception object
              //ExceptionLogger.Log(ex, "Period ID", id);
              ExceptionLogger.Log(ex, "User Profile Info", UPObj);
  
              // Handle exception with BubbleExceptionPolicy
              if (exManager.HandleException(ex, "BubbleExceptionPolicy"))
                  throw;  // Not to include the ex, as the previous stack trace to be maintained
          }
  //_draftManagecompany.IntegrationRates contains updated value in the correct order
          return Json(_draftManagecompany.IntegrationRates.ToDataSourceResult(request));
  
  
      }
  </code></pre>
  
  <p>cshtml code:</p>
  
  <pre><code> @{ var integrateGrid = Html.Kendo()
              .Grid(Model.Company.IntegrationRates)
              .Name("Gridintegrate")
              .EnableCustomBinding(true) // Enable custom binding
              .BindTo(Model.Company.IntegrationRates)
              .Events(events =&gt;
              {
                  events.Change("DataBound_Integ");
  
              })
              .ToolBar(
                  commands =&gt;
                  {
                      //commands.Insert().ButtonType(GridButtonType.BareImage).ImageHtmlAttributes(new { style = "visibility:hidden" });
                  }
              )
              .Columns(columns =&gt;
              {
  
                  columns.Bound(p =&gt; p.PeriodID).Visible(false);
                  columns.Bound(p =&gt; p.Month).Width(150);
                  columns.Bound(p =&gt; p.Rate).Format("{0:0.00}%").Width(100);
  
                  columns.Command(commands =&gt;
                  {
                      commands.Edit().HtmlAttributes(new { @id = "btn_IntRateEdit" });
  
                  }).Width(150).Title(gridTitle);
              })
              .HtmlAttributes(new { style = "height: 380px;" })
              .Scrollable()
              .Editable(editable =&gt; editable.Mode(GridEditMode.InLine))
              .DataSource(dataSource =&gt; dataSource.Ajax()
                  //.Batch(true) 
                  .Read(read =&gt; read.Action("_AjaxBindingintegrate", "Company"))
                  .Update(update =&gt; update.Action("_SaveBatchEditingintegrate", "Company"))
  
                  .Model(model =&gt;
                      {
                          model.Id(c =&gt; c.PeriodID);
                          model.Field(c =&gt; c.Month).Editable(false);
                      }
  
                  )
                   .Events(events =&gt;
                   {
                       events.Error("CheckSessionExistsOnTelerik");
  
  
                   })
  
              );
          //.Pageable(paging =&gt; paging.Style(GridPagerStyles.NextPreviousAndNumeric | GridPagerStyles.PageSizeDropDown).PageSize(20, new int[3] { 20, 50, 100 })).ToComponent();
  
          var culture = System.Globalization.CultureInfo.InvariantCulture;
          //integrateGrid.Localization = new GridControlLocalization(culture);
          integrateGrid.Render();
  
  
                      }
  </code></pre>