title: Exception in KendoUI Grid InCell edit required for batch updates with batch set to false
body: <p>I am getting an exception while trying to use the KendoUI Grid for an ASP.NET MVC (.net 4.5) app being developed in Visual Studio 2013.  I've configured the grid to use InLine editing and have explicitly set Batch to false in the data source section.  This is being rendered as a partial view.  It should be noted that if GridEditMode.InLine is set to GridEditMode.InCell no exception is thrown.</p>
  <h2>Exception</h2>
  <blockquote>
  <blockquote>
  <p>You must use InCell edit mode for batch updates.</p>
  <p><strong>Description</strong>: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.</p>
  <p><strong>Exception Details</strong>: System.NotSupportedException: You must use InCell edit mode for batch updates.</p>
  </blockquote>
  </blockquote>
  <h2>CODE</h2>
  <pre><code>@using Kendo.Mvc.UI
  @model MyApp1.Data.DataModels.Agent
  
  @(Html.Kendo().Grid&lt;MyApp1.Data.ViewModels.PhoneNumberVM&gt;()
      .Name(&quot;grid&quot;)
      .Columns(columns =&gt;
      {
          columns.Bound(p =&gt; p.Number);
          columns.Bound(p =&gt; p.Description);
          columns.Command(command =&gt; command.Edit()).Width(90);
          columns.Command(command =&gt; command.Destroy()).Width(90);
      })
      .ToolBar(toolBar =&gt;
          {
              toolBar.Create().Text(&quot;Add Phone Number&quot;);
              toolBar.Save();
          })
      .Editable(editable =&gt; editable.Mode(GridEditMode.InLine))
      .DataSource(dataSource =&gt; dataSource
          .Ajax()
          .Batch(false)
          .Events(events =&gt; events.Error(&quot;error_handler&quot;))
          .Model(model =&gt;
          {
              model.Id(p =&gt; p.PhoneNumberId);
              model.Field(p =&gt; p.PerId).Editable(false).DefaultValue(@Model.PerId);
          })
          .Read(read =&gt; read.Action(&quot;_GetPhones&quot;, &quot;Pers&quot;, new { AgentId = Model.AgentId }))
          .Create(create =&gt; create.Action(&quot;_AddPhone&quot;, &quot;Pers&quot;))
          .Update(update =&gt; update.Action(&quot;_EditPhone&quot;, &quot;Pers&quot;))
          .Destroy(destroy =&gt; destroy.Action(&quot;_DeletePhone&quot;, &quot;Pers&quot;))
      )
  )
  </code></pre>