Hi,
I'm trying to add server filtering to the shared data source example on the demo site (Shared DataSource)
How can I add the .ServerFiltering(true) option to either the AutoComplete control or the DataSource ?
Thanks,
Richard
@(Html.Kendo().DataSource<Kendo.Mvc.Examples.Models.ProductViewModel>()
.Name(
"dataSource1"
)
.Ajax(dataSource => dataSource
.Read(read => read.Action(
"Products_Read"
,
"DataSource"
))
.ServerOperation(
true
)
-->> .ServerFiltering(
true
) << --
)
)
@(Html.Kendo().AutoComplete()
.Name(
"autoComplete"
)
.DataTextField(
"ProductName"
)
.Filter(FilterType.Contains)
.MinLength(2)
.DataSource(
"dataSource1"
) -->> .ServerFiltering(
true
) <--
)