title: InCell Editing in Kendo UI and Web API
body: <p>I am new to <code>Web API</code> and <code>Kendo UI</code>. My requirement is <code>InCell</code> Editing. I have implemented this with below reference links. But my problem is In controller action method i am getting count of employee as 0. I am not any other things means edited rows. </p>
  
  <pre><code>http://demos.telerik.com/kendo-ui/grid/editing
  
  http://demos.telerik.com/aspnet-mvc/grid/editing
  </code></pre>
  
  <p>and another way I tried with below reference. But here also in JQuery I am getting what I updated rows. but when passing data to controller through AJAX call in controller I am getting count as 0. Please can you help this. </p>
  
  <pre><code>  http://stackoverflow.com/questions/17033025/kendo-grid-batch-editing-making-a-single-call-to-save
  </code></pre>
  
  <p>Here is my code:</p>
  
  <pre><code> var dataSource = new kendo.data.DataSource({
              transport: {
                  read: {
                      url: "/api/Employee/GetEmployee",
                      dataType: "json"
                  },
                  create: {
                      url: "/api/Employee/CreateEmployee",
                      dataType: "json",
                      type: "POST",
                      complete: function (jqXhr, textStatus) {
                          // Do something
                      }
                  },
                  update: {
                      url: "/api/Employee/Update",
                      dataType: "json",
                      type: "POST",   
                      complete: function (jqXhr, textStatus) {     
                           // Do something
                      }
                  },
                  destroy: {
                      url: "/api/Employee/DeleteEmployee",
                      dataType: "json",
                      type: "DELETE",
                      complete: function (jqXhr, textStatus) {
                           // Do something
                      }
                  },
                  parameterMap: function (options, operation) {
                      if (operation !== "read" &amp;&amp; options.models) {
                          return { models: kendo.stringify(options.models) };
                      }
                  }
              },
              batch: true,
              pageSize: 12,
              schema: {
                  model: {
                      id: "Id",
                      fields: {
                          Id: { editable: false, type: "number" },
                          EmployeeId: {
                              editable: true, type: "text", validation: {required: true },
                          },
                          EmployeeName: { validation: { required: true } }
                      }
                  }
              }
          });
          if (container.find('#gridEmployee').data().kendoGrid)
              container.find('#gridEmployee').data().kendoGrid.destroy();
          container.find("#gridEmployee").kendoGrid({
              dataSource: dataSource,
              pageable: true,
             // toolbar: [{ text: "Add new Employee", className: "btn btn-primary grid-add-new-record" }, { text: "Save", className: "btnKendoUiSave" }],
              toolbar: ["create", "save", "cancel"],
              columns: [
                    {
                        command: [
                         //define the commands here
                         { name: "edit", text: " " }, { name: "destroy", text: " " }, { name: "update", text: " ", click: showDetails }], width: "200px"
                    },
                    { field: "EmployeeId", title: "Employee Id", format: "{0:0}", headerAttributes: { "data-localize": "FIELD_NUMBER" } },
                    { field: "EmployeeName", title: "Employee Name", headerAttributes: { "data-localize": "FIELD_NAME" } },
              ],
              editable: true,
  
          });
  </code></pre>
  
  <p>Web API Controller:</p>
  
  <pre><code> [HttpPost]
          public System.Web.Mvc.JsonResult Update([System.Web.Mvc.Bind(Prefix = "models")]List&lt;PlantEmployeeModel&gt; Employees)
  {
  //
  }
  </code></pre>