title: Refresh after update Telerik Kendo Grid (MVC)
body: <p>I have a Kendo Grid with some environments data. One of the fields of the grid is "isDefault" wich recieve 1 or 0 (for true or false). In the database I have a trigger that when some record is set to isDefault = 1 any other record is update to isDefault = 0, just to make sure there is only one default environment.</p>
  
  <p>The Kendo grid is working fine, it binds the data and updates the records just fine but after the update, the grid is not refreshing all the records and if there was, lets say, record 1 with isDefault =1 and I update record 4 to isDefault = 1 the trigger is fired and updates all others records to isDefault = 0 but the grid still showing record 1 with isDefault = 1 and now record 4 with isDefault = 1</p>
  
  <p>This is the code on my view:</p>
  
  <pre><code>Html.Kendo().Grid&lt;Models.Environment&gt;()
                     .Name("environmentGrid")
                     .Sortable()
                     .ToolBar(tb =&gt;  tb.Create())
                     .Editable(editable =&gt; editable.Mode(GridEditMode.PopUp))
                     .Columns(cols =&gt;
                     {
                         cols.Bound(c =&gt; c.Name).Width(150).Sortable(true);
                         cols.Bound(c =&gt; c.ConnectionString).Width(150).Sortable(true);
                         cols.Bound(c =&gt; c.Template).Width(150).Sortable(true);
                         cols.Bound(c =&gt; c.isDefault).Width(150).Sortable(true);
                         cols.Bound(c =&gt; c.StatusID).Width(150).Sortable(true);
                         cols.Command(command =&gt; { command.Edit();}).Width(60);
                     })
                     .DataSource(ds =&gt; ds
                         .Ajax()
                         .Model(model =&gt; 
                         { 
                             model.Id(m =&gt; m.EnvironmentID);
                         })
                         .Read(r =&gt; r.Action("GetEnvironments", "Admin"))
                         .Update(update =&gt; update.Action("UpdateEnvironments", "Admin"))
                         .Create(update =&gt; update.Action("UpdateEnvironments", "Admin"))                           
                     )
  </code></pre>
  
  <p>and this is the code on my controller:</p>
  
  <pre><code>[AcceptVerbs(HttpVerbs.Post)]
      public ActionResult UpdateEnvironments([DataSourceRequest] DataSourceRequest dsRequest, Environment environment)
      {
          environment.ModifiedBy = userName;
  
          if (environment != null &amp;&amp; ModelState.IsValid)
          {
              if (environment.EnvironmentID != 0)
              {
                  var toUpdate = xgr.EnviromentRepository.ListAll().FirstOrDefault(p =&gt; p.EnvironmentID == environment.EnvironmentID);
                  TryUpdateModel(toUpdate);
              }
              xgr.EnviromentRepository.Save(environment);
          }
          return Json(ModelState.ToDataSourceResult());
      }
  </code></pre>
  
  <p>Thank you in advance for your answers.</p>