This is a migrated thread and some comments may be shown as answers.

How to build a RadDataFilter from the FilterDescriptors ToString value?

2 Answers 129 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Shankar
Top achievements
Rank 1
Shankar asked on 02 Aug 2012, 01:32 AM
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 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 02 Aug 2012, 06:18 AM
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.

0
Shankar
Top achievements
Rank 1
answered on 02 Aug 2012, 07:46 PM
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!
Tags
DataFilter
Asked by
Shankar
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Shankar
Top achievements
Rank 1
Share this question
or