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

Convert Expresion to FilterDescriptorCollection

1 Answer 126 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
konrad
Top achievements
Rank 1
konrad asked on 25 Jan 2019, 11:02 PM

Is there any easy way to convert RadDataFilter.Expression to FilterDescriptorCollection, so ill be able add it do CompositeFilterDescriptor of the RadGridView.FilterDescriptors.

RadGridView.FilterDescriptors.Add(new CompositeFilterDescriptor() { FilterDescriptors = RadDataFilter.Expression? });

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 28 Jan 2019, 11:31 AM
Hello Dominik,

Here is how you can set the filters using the expression directly:
radGridView1.FilterDescriptors.Expression = radDataFilter1.Expression;

Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Progress Telerik
Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
DataFilter
Asked by
konrad
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or