This is a migrated thread and some comments may be shown as answers.

How to change default Filter drop down value to specific e.g "Contains"

1 Answer 210 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Siingh
Top achievements
Rank 2
Siingh asked on 13 Jul 2011, 03:40 AM
Hi
In gridview filter option you can see drop down always start with "Is Equal To" is it possible to change to "Contains", i do not want to do any custom filters as i like inbuilt filters and just want to change filter drop down option to selected " Contains " option only, so if i want to filter something in column i just enter value and press "Filter" button and filter will filter value based on "Contains" option.



Kind Regards:

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 15 Jul 2011, 07:09 AM
Hi Siingh,

 Actually you will need to ovveride the Prepare method of the Filtering Control like it is shown in this forum post. There is a sample project posted by Ross that is doing exactly what you would like to achieve.
You may as well review  this forum post.

Best wishes,
Didie
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
GridView
Asked by
Siingh
Top achievements
Rank 2
Answers by
Dimitrina
Telerik team
Share this question
or