Filter "containsNot" not possible

2 posts, 0 answers
  1. Berthold
    Berthold avatar
    38 posts
    Member since:
    Jul 2010

    Posted 01 Jul 2011 Link to this post

    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
  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 04 Jul 2011 Link to this post

    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
  3. DevCraft banner
Back to Top