This is a migrated thread and some comments may be shown as answers.
RadDataFilter Save/Restore
5 Answers 71 Views
This is a migrated thread and some comments may be shown as answers.
Richard Harrigan
Top achievements
Rank 1
Richard Harrigan asked on 03 Jul 2011, 07:54 PM

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

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 04 Jul 2011, 07:07 AM
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
0
Richard Harrigan
Top achievements
Rank 1
answered on 04 Jul 2011, 07:51 PM
Hi

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

Thanks
Rich
0
Vlad
Telerik team
answered on 05 Jul 2011, 06:30 AM
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
0
SEAN
Top achievements
Rank 1
answered on 10 Dec 2013, 04:47 PM
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
0
Dimitrina
Telerik team
answered on 12 Dec 2013, 03:03 PM
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 >>
Asked by
Richard Harrigan
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Richard Harrigan
Top achievements
Rank 1
SEAN
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or