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

Adding a 'Does not contain' filter operator

7 Answers 226 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rick Glos
Top achievements
Rank 1
Rick Glos asked on 03 Dec 2009, 04:29 PM
Hello,

Clicking on the filter icon only allows for 5 comparisons (what I think are termed filter operators) on string column:

 

Is equal to

Is not equal to

Starts with

Contains

Ends with

 

I don't see a 'Does not contain' which is the opposite of Contains.

Is this something I could add easily to the existing filter mechanism or do I need to go to a fully custom filter as shown via your demo of custom filtering?

7 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 04 Dec 2009, 09:54 AM
Hello Rick Glos,

Currently we do not have such a FilterOperator, but I will log your feature request. Until we develop it, you can create a Custom Filtering Control which will add/remove special IFilterDescriptors to RadGridView's FilterDescriptors collection.

Your implementation of the IFilterDescriptor interface should create a filter expression to do the "Does not contain" logic.

To learn how to create such a custom control, please refer to my blog post Custom Filtering with RadGridView for Silverlight.

You can see the implementation of another two custom filtering controls in our online Custom Filter Controls example.

Kind regards,
Ross
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Rick Glos
Top achievements
Rank 1
answered on 03 Jun 2010, 05:40 PM
It's been 6 months and our client is still asking for this.

You mentioned you logged the feature request.  Is there any update?  Is this on the radar or far down the list of things you might do soon?

If not, it looks like I might have to proceed with custom filtering.  Is this still the preferred approach?  I cannot simply create a custom filter expression, but I must customize the entire filter control and replicate the existing filter expressions and then add my new one?
0
Rossen Hristov
Telerik team
answered on 04 Jun 2010, 07:50 AM
Hello Rick Glos,

Please excuse us for the inconvenience. This feature has been unable to make it for a release. I will escalate this issue to our developers right away and I hope that we will have it released next Friday with the Latest Internal Build. Will this be ok?

Once again, accept our apologies.

Regards,
Ross
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Rick Glos
Top achievements
Rank 1
answered on 04 Jun 2010, 02:55 PM
I think that would be excellent.  Thank you.
0
Rossen Hristov
Telerik team
answered on 08 Jun 2010, 08:26 AM
Hi Rick Glos,

We have added the DoesNotContain filter operator and it will be available in the 2010 Q2 BETA version we are about to release later today.

Let us know if there are problems after you upgrade to it.

Best wishes,
Ross
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Asha
Top achievements
Rank 1
answered on 14 Sep 2017, 09:41 AM

Hi Team,

We are using Telerik.Web.Mvc.dll of  File version : 2012.1.214.340 and Product version : 2012.1.214.340 .

We didn't find “Does not contain” filter property and telerik grid tooltip property in this version. And our client wants to add these features  .

Can you please let us know “Does not contain” filter property is supported in Telerik File version : 2012.1.214.340  if not then in which version it will be available ?

Please help.

Regards,

Asha Sonavane

0
Stefan
Telerik team
answered on 19 Sep 2017, 07:00 AM
Hello Asha,

This forum thread is for the UI for Silverlight suite. As I understand from the provided information, you are using the UI for ASP.NET MVC one. So, in order to keep the threads consistent, may I kindly ask you to post your question in the relevant forum section?

Thank you in advance for your cooperation.

Best Regards,
Stefan X1
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
Rick Glos
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Rick Glos
Top achievements
Rank 1
Asha
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or