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

Easy way to check if there are filter conflicts

3 Answers 34 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Li
Top achievements
Rank 1
Li asked on 05 Feb 2013, 10:44 AM
Hi,

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

Best wishes

Li Wang

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 05 Feb 2013, 11:25 AM
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.

0
Li
Top achievements
Rank 1
answered on 05 Feb 2013, 11:32 AM
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
0
Accepted
Dimitrina
Telerik team
answered on 05 Feb 2013, 12:16 PM
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.

Tags
GridView
Asked by
Li
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Li
Top achievements
Rank 1
Share this question
or