I am trying to use a DatePicker for a column, during InLine editing on a grid.
In Edit mode, the datepicker does not retain the right value. It gets set to "mm/dd/yyyy". There is also no styling put on it. (see the attached screenshot)
My EditorTemplates are in the right place, "~Views/Shared/EditorTemplates". DatePicker's in other places act and look normal. The DataType for that field is set to a Date data type in the model definition.
What am I missing here? Why does the datepicker value get set to 'mm/dd/yyyy' and why is there no styling?
columns.Bound(x => x.Date).EditorTemplateName("Date").Format("{0:MM/dd/yy}");
My EditorTemplates are in the right place, "~Views/Shared/EditorTemplates". DatePicker's in other places act and look normal. The DataType for that field is set to a Date data type in the model definition.
What am I missing here? Why does the datepicker value get set to 'mm/dd/yyyy' and why is there no styling?