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

How can we restore saved expressions in radfilter control

3 Answers 134 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
vikas
Top achievements
Rank 1
vikas asked on 08 Jun 2010, 02:10 PM
Hi,

Can anybody explain how can we restore the expressions from database to radfilter control.
i can restore the expressions in radgrid.but how can we restore in radfilter control

Thanks

Vikas

3 Answers, 1 is accepted

Sort by
0
vikas chopra
Top achievements
Rank 1
answered on 09 Jun 2010, 07:30 AM
Please check the attached file. can any body explain how can we restore the radfilter options .
0
Iana Tsolova
Telerik team
answered on 11 Jun 2010, 11:51 AM
Hello vikas,

After you get the filter expression from database, you add the RadFilter filter expressions dynamically as described in this article.

Give it a try and let me know if it works for you.

Regards,
Iana
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
Anne
Top achievements
Rank 1
answered on 23 Jul 2010, 04:09 PM
Hello,

I had the same problem and I find the solution :

I add a column in my table of my database where I save MyFilter (ntext)
MyFilter = RadFilter1.SaveSettings()

For restore :

RadFilter1.LoadSettings(MyFilter)

RadFilter1.RecreateControl()

Thanks

Tags
General Discussions
Asked by
vikas
Top achievements
Rank 1
Answers by
vikas chopra
Top achievements
Rank 1
Iana Tsolova
Telerik team
Anne
Top achievements
Rank 1
Share this question
or