I have column in the kendo Grid which has data type TimeSpan (ASP.NET). I have two problems:
- Firstly, it is not formatting the time in the format HH:mm
- Secondly, when I filter I get the error - conversion from string to timespan failed.
The strip down version of code looks like
@(Html.Kendo().Grid<SomeModel>()
.Name("Grid")
.Columns(colums =>
{
columns.Bound(c => c.StartTime).Title("Start Time"); // TimeSpan data type
})