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

Filter "containsNot" not possible

1 Answer 24 Views
DomainDataSource
This is a migrated thread and some comments may be shown as answers.
Berthold
Top achievements
Rank 1
Berthold asked on 01 Jul 2011, 07:51 AM
Hi,
I'm using DataDomainSource, FilterDescriptors and serverside- filtering (as described in another thread) to get my data from DB.
Works fine so far.

No my customer wants to find data by excluding patterns.
Example:
1. Try to find names who ends with "delphia" -> works fine with FilterDescriptor "EndsWith" and value "delphia" 
 2. Try to find names who ends NOT with "delphia" --> ??  In sql that's rather easy: ".. where names not like '%delphia'  "
Is this possible with DataDomainSource  (or with a workaround)

Thanks
Berthold

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 04 Jul 2011, 08:25 AM
Hi Berthold,

Here is the list of operators that Microsoft's DomainDataSource control supports:

Member name Description
Contains The data value must contain the filter value.
EndsWith The data value must end with the filter value.
IsContainedIn The data value must be contained in the filter value.
IsEqualTo The data value must be equal to the filter value.
IsGreaterThan The data value must be larger than the filter value.
IsGreaterThanOrEqualTo The data value must be larger than or equal to the filter value.
IsLessThan The data value must be smaller than the filter value.
IsLessThanOrEqualTo The data value must be smaller than or equal to the filter value.
IsNotEqualTo The data value must be different from the filter value.
StartsWith The data value must start with the filter value.

I am afraid that the operator you are looking for is not among them. 

You can post this as a feature request on Microsoft's forums, since Microsoft is the owner of the DomainDataSource control and Telerik cannot do much about it.

I hope this makes sense.

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
Tags
DomainDataSource
Asked by
Berthold
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or