title: How to get the value from a kendo Editor in my model
body: <p>I am trying to use a Kendo UI Editor control in my ASP.NET MVC application. No success until now, since I cannot manage to get the value in the editor back to the model in the controller.</p>
  
  <p>My model is very simple (to edit an html page in my website):</p>
  
  <pre><code>public class EditedPage
  {
  public string Name { get; set; }
  public string Title { get; set; }
  
  [AllowHtml]
  public string Content { get; set; }
  }
  </code></pre>
  
  <p>And my view includes this code:</p>
  
  <pre><code>@model Page
  
  &lt;h2&gt;@Model.Title&lt;/h2&gt;
  @using (Html.BeginForm())
  {
      @Html.HiddenFor(m =&gt; m.Name)
      @Html.HiddenFor(m =&gt; m.Title)
  
      @(Html.Kendo().EditorFor(m =&gt; m.Content)
      .Name("Editor")
      .HtmlAttributes(new { style = "width:800px;height:600px;margin-left:20px;" })
      )
  
      &lt;div&gt;
          &lt;input type="submit" value="@Resources.StringResources.Save" class="k-button"/&gt;
      &lt;/div&gt;
  }
  </code></pre>
  
  <p>I was expecting the post method in the controller to get the model filled. If I add simple editors for Name and Title (in the sample code they are hidden) it works fine, but Content always comes back as null.</p>
  
  <p>Here is my controller method:</p>
  
  <pre><code>[HttpPost]
  public ActionResult EditPage(Page page)
  {
  if (!ModelState.IsValid)
   return View(page);
  
  //save content in a file
  
  return View("CustomPages");
  }
  </code></pre>
  
  <p>What am I missing? I guess that I need some javascript to get the value from the editor, but I don't know how to achieve it.</p>
  
  <p>Any help would be welcome. Thanks</p>