While running the demo at http://demos.telerik.com/aspnet-core/multiselect/serverfiltering I noticed that the MultiSelect is passing filter query string parameters.
For example, searching for chef sends the following parameters:
text: chef
filter[filters][0][value]: chef
filter[filters][0][field]: ProductName
filter[filters][0][operator]: startswith
filter[filters][0][ignoreCase]: true
filter[logic]: and
However the example ignores the filter parameters and implements a contains filter in the controller:
public
JsonResult GetProducts(
string
text)
{
products = products.Where(p => p.ProductName.Contains(text));
}
Can the filter parameters be bound to a model? Is there an existing Telerik filter model class that can be used?