Hello Mike,
We do not have a complete running example, demonstrating the described scenario, but you can use the following example as a starting point:
http://docs.telerik.com/kendo-ui/aspnet-mvc/helpers/grid/how-to/Binding/grid-bind-to-datatable
https://github.com/telerik/ui-for-aspnet-mvc-examples/tree/master/grid/binding-to-datatable
... and adjust it by making the following changes:
- remove the cast to <dynamic>, and pass the data table to the Grid constructor, e.g.:
- remove the .Ajax() call in the DataSource configuration:
In general, mix the approaches, demonstrated in the example above, with the ones, described here:
http://docs.telerik.com/kendo-ui/aspnet-mvc/helpers/grid/overview#server-binding
I hope this helps.
Regards,
Dimiter Topalov
Telerik by Progress
We do not have a complete running example, demonstrating the described scenario, but you can use the following example as a starting point:
http://docs.telerik.com/kendo-ui/aspnet-mvc/helpers/grid/how-to/Binding/grid-bind-to-datatable
https://github.com/telerik/ui-for-aspnet-mvc-examples/tree/master/grid/binding-to-datatable
... and adjust it by making the following changes:
- remove the cast to <dynamic>, and pass the data table to the Grid constructor, e.g.:
@(Html.Kendo().Grid((IEnumerable<KendoGridServerBinding.Models.Product>)ViewBag.Products)...
- remove the .Ajax() call in the DataSource configuration:
.DataSource(dataSource => dataSource
.Ajax()
In general, mix the approaches, demonstrated in the example above, with the ones, described here:
http://docs.telerik.com/kendo-ui/aspnet-mvc/helpers/grid/overview#server-binding
I hope this helps.
Regards,
Dimiter Topalov
Telerik by Progress
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.