I have an MVC grid with a datetime column. I am using the Kendo DatePicker for the column. Edit mode for the grid is set to InLine. When the user clicks on the row, the row goes into edit mode. The datePicker for my datetime column displays correctly but when I click on the date icon to display the calendar, nothing happens.
The MVC code for the column looks like this:
columns.Bound(p => p.DateOfSale).Title("Date of Sale").EditorTemplateName("DatePicker").ClientTemplate("#= DateOfSale ? moment.utc(DateOfSale,'MM/DD/YYYY').format('MM/DD/YYYY') : ''#").Width(120);
My DatePicker code is this:
@using Kendo.Mvc.UI
@model DateTime?
@(Html.Kendo().DatePickerFor(m => m)
.Format("MM/dd/yyyy")
)