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

Query Templates

3 Answers 44 Views
Persistence Framework
This is a migrated thread and some comments may be shown as answers.
AGMITAccounts
Top achievements
Rank 1
AGMITAccounts asked on 14 Dec 2014, 03:29 AM
Currently I am allowing the users to save a template which stores the data/state of the search parameters. I have a few queries that have around 50 parameters. I have made custom code to save the text out of a textbox, check state in checkboxes, selected radiobuttons, check boxes in a telerik dropdown, date in telerik datebox, checkboxes in telerik treeviews and save the text in a database per user per query page. I have almost ever telerik control and generic .net controls.

When the user names the template and save button it also saves the state of the radgrid. he users can then select a template and click the load button and the code prepopulates all the search parameter fields and sets the grid up as is was saved.

I have played with the persistence framework and have not figured out if it is possible to save generic .net controls. I cannot find any sample code if it is possible. I have seen other component libraries do this.

Am I just missing something...
Kevin

3 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 17 Dec 2014, 03:32 PM
Hello Kevin,

I have answered your query in the support ticket you have submitted. Please avoid submitting duplicate threads in the future. This will enable us to keep better track of your support history and provide answers quicker.

RadPersistenceFramework can persist the settings for a lot of controls. However, not every Control can be persisted out of the box. Check out the following article that lists the controls that are supported by RadPersistenceFramework out of the box:

In case you need to persist additional settings you can use custom logic. The article below illustrates how you can persist custom settings:




Regards,
Viktor Tachev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
AGMITAccounts
Top achievements
Rank 1
answered on 17 Dec 2014, 06:52 PM
I waited 3 days for a response on the forum before I submitted a support ticket.

Thanks
Kevin
0
Viktor Tachev
Telerik team
answered on 19 Dec 2014, 01:20 PM
Hello Kevin,

Have in mind that the support tickets that you submit have a 24-hour response time. When you need to get an answer from us faster I would recommend submitting a support ticket.

For additional information on the response time for tickets check out Support Plans for DevTools.

Regards,
Viktor Tachev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Persistence Framework
Asked by
AGMITAccounts
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
AGMITAccounts
Top achievements
Rank 1
Share this question
or