RadDataFilter Save/Restore

6 posts, 0 answers
  1. Richard Harrigan
    Richard Harrigan avatar
    235 posts
    Member since:
    Nov 2009

    Posted 03 Jul 2011 Link to this post


    Hi,

    Is the information at the following link the recommended way of saving and restoring RadDataFIlter?  Is there a easier and/or  better way?

    http://www.telerik.com/community/forums/wpf/data-filter/raddatafilter-storage.aspx

    Thanks
    RIch

  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 04 Jul 2011 Link to this post

    Hello,

     Other possible approach will be to use separate classes to serialize the filters similar to this RadGriView demo:
    http://demos.telerik.com/silverlight/#GridView/SaveLoadSettings

    Regards,
    Vlad
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Richard Harrigan
    Richard Harrigan avatar
    235 posts
    Member since:
    Nov 2009

    Posted 04 Jul 2011 Link to this post

    Hi

    Your example was for RadGridView not RadDataFilter.  Is it missing anything I might need to implement for RadDataFilter.

    Thanks
    Rich
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 05 Jul 2011 Link to this post

    Hi,

     Indeed the example is for RadGridView however you can use the same approach. 

    All the best,
    Vlad
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. SEAN
    SEAN avatar
    1 posts
    Member since:
    Aug 2013

    Posted 10 Dec 2013 Link to this post

    Hi
    The link for the grid view save loda example now leads to the demo's main screen and I didn't see any example that might be the same.
    Can you update for a new example (if there's anything more relevant to radDataFilter it would be better of course)
    I know this is the silverlight forum but I need to save and load filter in a wpf project with radDataFilter, so if there's anything I should consider please tell me so I can post a question in the wpf forum.
    thanks
  7. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 12 Dec 2013 Link to this post

    Hello,

    As for saving and loading the filter criteria with RadDataFilter, you will have to manually go over RadDataFilter.FilterDescriptors collection and save the object graph into format that you can save to your storage. Then you can parse this saved data and restore the FilterDescriptors back.  

    The way to read though the FilterDescriptors collection and then restore it would be as demonstrated on this online demo.

    Regards,
    Didie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
DevCraft banner