I'm using a MVC kendo helpers to display a grid, which has a remote datasource. Everything works as expected, until I try to apply filters to a couple of the grid fields that are dates.
The problem is that, as soon as I apply the filter, the kendo grid passes dates as DateTime to the server, however, dates in my domain model in the server are represented as DateTimeOffset, so server throws an exception saying there is no way to transform a DateTime to a DateTimeOffset.
So I'm looking for a workaround, so the client can send the filter in the correct way, so MVC builds DateTimeOffset.
Right now the client is sending the filter like this:
sort:
page:1
pageSize:10
group:
filter:Timestamp~gte~datetime'2015-02-10T00-00-00'
I guess instead of:Timestamp~gte~datetime'2015-02-10T00-00-00' it should be something like: Timestamp~gte~datetimeoffset'2015-02-10T00-00-00'
Thank you in advance!