Easy way to check if there are filter conflicts

4 posts, 1 answers
  1. Li
    Li avatar
    46 posts
    Member since:
    Feb 2011

    Posted 05 Feb 2013 Link to this post

    Hi,

    Is there an easy way to check if the filters of a radGridView have conflicts?

    Best wishes

    Li Wang
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 05 Feb 2013 Link to this post

    Hello Li,

    I am not sure what you mean by "conflicts". Would you please clarify? 

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Li
    Li avatar
    46 posts
    Member since:
    Feb 2011

    Posted 05 Feb 2013 Link to this post

    Hello Didie,

    For example i have a list of persons and i set the filters so:

    FirstName IsEqualTo "Li"
    AND
    FirstName IsNotEqualTo "Li"

    It is impossible to find a person whose first name fills these two conditions at the same time.
    This is what i mean "conflicts".

    Regards,

    Li Wang
  4. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 05 Feb 2013 Link to this post

    Hello,

    The GridView will not prevent you from adding such "conflict" descriptors. You could monitor the filtering criteria you have added for the GridView within its FilterDescriptors collection. Then you should take care of it.

    Please check the online documentation for detailed information on how the filtering works.
     

    Kind regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top