I can't get this up and running, get the compilation error:
'Kendo.Mvc.UI.Fluent.AjaxDataSourceBuilder<Core.Country>' does not contain a definition for 'Data' and no extension method 'Data' accepting a first argument of type 'Kendo.Mvc.UI.Fluent.AjaxDataSourceBuilder<Core.Country>' could be found (are you missing a using directive or an assembly reference?)
I'm using :
@using Kendo.Mvc.UI
@using Kendo.Mvc.Extensions
'Kendo.Mvc.UI.Fluent.AjaxDataSourceBuilder<Core.Country>' does not contain a definition for 'Data' and no extension method 'Data' accepting a first argument of type 'Kendo.Mvc.UI.Fluent.AjaxDataSourceBuilder<Core.Country>' could be found (are you missing a using directive or an assembly reference?)
I'm using :
@using Kendo.Mvc.UI
@using Kendo.Mvc.Extensions
@model Core.Country[]
Can someone tell me, am I missing a using directive or an assembly reference?
Many thanks in advance.
Sorted: The extension method 'Data' is on .Read(...) not the datasource as the documentation on Ajax Binding: "Pass Additional Data to Action Method" would have you believe.
K.