Convert Expresion to FilterDescriptorCollection

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

    Posted 25 Jan 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
    Admin
    Dimitar avatar
    2686 posts

    Posted 28 Jan 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.

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