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

Operator Value from RadDataFilter

1 Answer 89 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Chinedu
Top achievements
Rank 1
Chinedu asked on 19 Jun 2012, 06:02 PM
Hi,

How do I get the Or or AND operators, them from the RadFilterControl

I have a RadDataFilter that allows us to create Filter conditions.

I want to access the Filter expression created,

The FieldDescriptors gives me a list like

1. FirstName IsEqualTo Brian
2. LastName IsEqualTo Jackson
3. ... etc

how do I get the operators between the descriptors i.e
something like -- FirstName isEqualToBrian "Or" LastName IsEqualTo Jackson


1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 20 Jun 2012, 11:05 AM
Hello,

 You could get the composite filter created using this code :

(this.radDataFilter.ViewModel).CompositeFilter

 I hope this is helpful. Please let me know how this works for you.

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
DataFilter
Asked by
Chinedu
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or