Convert Expresion to FilterDescriptorCollection

2 posts, 0 answers
  1. Dominik
    Dominik avatar
    81 posts
    Member since:
    Dec 2012

    Posted 25 Jan 2019 Link to this post

    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? });

  2. Dimitar
    Dimitar avatar
    2892 posts

    Posted 28 Jan 2019 Link to this post

    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.

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