New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Use OData v4 with WebAPI Controller

OData v4 is not fully supported and the approaches to work with Dates are limited.

The reason for this is that WebAPI does not support the DateTime type any more. Instead, WebAPI now uses the DateTimeOffset time as a main type when it comes to dates. However, to keep information for both Date and Offset, the DateTimeOffet requires the Model (that the dataSource creates), which is not possible with the current architecture of the DataSource and Model of Kendo UI.

To see the example, refer to the project on how to configure the dataSource to communicate with the WebAPI controller through the OData 4 protocol.

See Also

In this article