Hi,
In my model I have the following property:
/// <summary>
/// Get or set property for EffDt property.
/// </summary>
[DataMember]
[UIHint("EffDateEditor")]
public DateTime? EffDt { get; set; }
whereas my editor template is as follows:
@model DateTime?
@(Html.Kendo().DatePickerFor(m => m).Format("dd-MMM-yyyy"))
Lastly my grid partial has the following:
columns.Bound(p => p.EffDt)
.Format("{0:dd-MMM-yyyy}")
.Title("Effective Date")
.Sortable(false)
.Filterable(false)
.Width(120);
Now whether I add new data or edit existing data the date column is always throwing validation error as can be seen in the attached file.
Please help this is urgent.
In my model I have the following property:
/// <summary>
/// Get or set property for EffDt property.
/// </summary>
[DataMember]
[UIHint("EffDateEditor")]
public DateTime? EffDt { get; set; }
whereas my editor template is as follows:
@model DateTime?
@(Html.Kendo().DatePickerFor(m => m).Format("dd-MMM-yyyy"))
Lastly my grid partial has the following:
columns.Bound(p => p.EffDt)
.Format("{0:dd-MMM-yyyy}")
.Title("Effective Date")
.Sortable(false)
.Filterable(false)
.Width(120);
Now whether I add new data or edit existing data the date column is always throwing validation error as can be seen in the attached file.
Please help this is urgent.