Edit this page

Combine Regular and Custom Filters in Grid for ASP.NET MVC

Environment

Product Progress Kendo UI Grid for ASP.NET MVC
Operating System Windows 10 64bit
Browser Google Chrome
Browser Version 57
.Net framework Version 4.6
Visual Studio version Visual Studio 2015
Preferred Language JavaScript
MVC Version MVC 5
View Engine Razor

 

Description

I have an ASP.NET MVC Grid with regular filters and local filtering. How can I add custom filters and combine the regular filters with the custom ones?

Solution

To allow the application of both filter types, wrap the custom filter in an additional filter with the "OR" criteria.

For the complete implementation of this approach, refer to this runnable example, which applies the filter method of the DataSource.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy