title: Why doesn't my KendoGrid call my MVC controller?
body: <p>I have the following code in a standard C# ASP.NET MVC controller.</p>
  
  <pre><code>public JsonResult ReadTeachers()
  {
      return Json(ReadTeacherData(), JsonRequestBehavior.AllowGet);
  }
  
  public void UpdateTeachers(IEnumerable&lt;Teacher&gt; updatedTeachers)
  {
      // this is never called
  }
  </code></pre>
  
  <p>I'm trying to call this controller with a KendoGrid. Here is the code for my grid.</p>
  
  <pre><code>$("#teachers").kendoGrid({
      dataSource: {
          type: "json",
          transport: {
              read: {
                  url: '@Url.Action("ReadTeachers", "EducationPortal")',
                  dataType: "json"
              },
              update: {
                  url: '@Url.Action("UpdateTeachers", "EducationPortal")',
                  dataType: "json"
              },
              parameterMap: function (options, operation) {
                  if (operation !== "read" &amp;&amp; options.models) {
                      return { models: kendo.stringify(options.models) };
                  }
              }
          },
          batch: true,
          schema: {
              model: {
                  id: "TeacherId",
                  fields: {
                      TeacherId: { type: "number" },
                      FullName: { type: "string" },
                      IsHeadmaster: { type: "boolean" }
                  }
              }
          }
      },
      toolbar: ["create", "save"],
      columns: [
          { field: "FullName", title: "Teacher" },
          { field: "IsHeadmaster", title: "Is a Headmaster?", width: "120px" },
          { command: ["destroy"], title: "&amp;nbsp;", width: "85px" }],
      editable: true
  });
  </code></pre>
  
  <p>I adapted this code from Kendo's <a href="http://demos.telerik.com/kendo-ui/web/grid/editing.html" rel="nofollow">examples</a>. The problem is, the UpdateTeachers method is never called. I suspect that the issue lies in the parameterMap function, because that's the part of the code I understand the least.</p>