I have a Grid with an editable DateTime field. What happens is when I type in a date, if it doesn't adhere to the Format statement, it clears the field when I hit tab. What I want is if I enter something like 01012020, I want to try and parse it in javascript and get a valid date to use. I have tried using OnBlur, but that never gets called. The onDateChange function has null for the value of that field. I think it's already cleared it out.
The grid defines the field and the editor template as,
.Columns(proposed =>{proposed.Bound(prop => prop.DateProposed).Editable("true").EditorTemplateName("SelectDateDD").Format("{0:MM/dd/yyyy}").Title("Date").Width(113);}SelectDateDD:
@(Html.Kendo().DatePickerFor(m => m).Events(e=>e.Change("onDateChange")))