title: Kendo UI Grid Editor Template for Date
body: <p>I want to custom edit filed for KENDO UI grid with date. </p>
  
  <p>I created grid like this:</p>
  
  <pre><code>  @(Html.Kendo().Grid&lt;TT.TT.Web.Models.ViewModel.WorkViewModel&gt;()
                            .Name("gridAdd")
                            .Columns(columns =&gt;
                            {
                                columns.Bound(work =&gt; 
                                work.Date).EditorTemplateName("WorkDate");
                            })
    )
  </code></pre>
  
  <p>Editor template look like this:</p>
  
  <pre><code>@model DateTime? 
  
      @(Html.Kendo().DatePicker()
          .Name("WorkDate")
          .Value(Model == null ? DateTime.Now.Date : @Model).Format("dd.MM.yyyy")
      )
  </code></pre>
  
  <p>And in TT.TT.Web.Models.ViewModel.WorkViewModel have this property:</p>
  
  <pre><code>[Display(Name = "Datum")]
  [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd.MM.yyyy}")]
  public DateTime Date { get; set; }
  </code></pre>
  
  <p>Everythink works, but when I click to edit date column, the value is always empty. I need to set default value due to value in non edit mode. Thanks!</p>
  
  <p>When i look to DateTime modeli in editor:</p>
  
  <pre><code>@model DateTime? 
  
  @Html.Raw(@Model) 
  </code></pre>
  
  <p>The value is always: 01.01.0001 0:00:00 and it should be 11.07.1990</p>