How to build a RadDataFilter from the FilterDescriptors ToString value?

3 posts, 0 answers
  1. Shankar
    Shankar avatar
    26 posts
    Member since:
    Dec 2011

    Posted 01 Aug 2012 Link to this post

    I am trying to store the "state" of the RadDataFilter in a database, so that the object can be persisted and the users can add/remove more filter expressions to it.

    How is it possible? I tried to serialize the "FilterDescriptors" object, but is it the right way to do it? Is there a better solution than this?

    Please let me know.
  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 02 Aug 2012 Link to this post

    Hello,

    Please, check this article. The article is for RadGridView, but RadDataFilter has exact.y the same FilterDescriptors, so it applies to it as well.

    I hope this helps.

    Kind regards,
    Ross
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Shankar
    Shankar avatar
    26 posts
    Member since:
    Dec 2011

    Posted 02 Aug 2012 Link to this post

    Hello Ross,

    Thank you so much for the information. I followed this thread (http://www.telerik.com/community/forums/wpf/data-filter/raddatafilter-storage.aspx#1320278) and it works too!
Back to Top