title: Kendo mvc grid InLine Edit Mode DateTimePicker Template gives Error
body: <p>I am using Kendo UI mvc grid for Data listing. I am making InLine Editing in this Grid.I am using EditorTemplate for DateTime field, so that it will give datetimepicker for DateTime field in InLine Edit Mode.When i am going to Click on Update button, it will give me Validation message like this : 'The  must be a date'</p>
  
  <pre><code>   columns.Bound(k =&gt; k.SevenDaysFrom).Format("{0:dd.MM.yyyy}").EditorTemplateName("DateTime").Width(30);
                              columns.Bound(k =&gt; k.SevenDaysTo).Format("{0:dd.MM.yyyy}").EditorTemplateName("DateTime").Width(30);
  </code></pre>
  
  <p>here DateTime in EditorTemplateName("DateTime") is the Template file i.e DateTime.cshtml
  And this file will contain the Following code :</p>
  
  <pre><code>@model DateTime?
  </code></pre>
  
  <p>@(Html.Kendo().DateTimePickerFor(m => m))</p>
  
  <p>Now it will give the validation error message while clicking on Update.The Belowe attach is the Validation error :</p>
  
  <p><img src="https://i.stack.imgur.com/2bs3p.jpg" alt="enter image description here"></p>
  
  <p>So, why this is happening is not known to me?
  What is the solution for this ? Please Help.</p>