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

Persist RadTextBox

2 Answers 36 Views
Persistence Framework
This is a migrated thread and some comments may be shown as answers.
Bryan Patrick
Top achievements
Rank 1
Bryan Patrick asked on 09 Jan 2015, 10:26 PM

I have a search form I'd like to save the user's text when they come back to the form.

I would think RadTextBox would be one of the built-in controls for the persistence framework.

But I don't see it on this page:  http://www.telerik.com/help/aspnet-ajax/persistence-framework-supported-controls.html 

I can very easily add it as a custom setting but why not built in?


2 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 14 Jan 2015, 04:18 PM
Hello Bryan,

The main purpose of the persistence framework is to persist settings, not control values. And by settings I mean only these which can be set through UI interaction.
I know that in some cases the developer must persist other things like values and settings exposed by external controls. For these cases we recommend that you take advantage of the custom settings, just like you already do.
Let me know if you need more information.

Regards,
Daniel
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
Bryan Patrick
Top achievements
Rank 1
answered on 15 Jan 2015, 12:47 AM
Thanks.

I was just thinking that you save the filter texbox value in a Radgrid so why not the text in a RadTextBox.

I have a search form with some RadTextBoxes and a RadGrid results on it when they click an item to go to the edit page I'd like to restore the search page when they return.  Works very well with the persistence framework except I have to do a the little extra for the RadTextBox search form.

I would think this would be trivial to add.

My $.02
Tags
Persistence Framework
Asked by
Bryan Patrick
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Bryan Patrick
Top achievements
Rank 1
Share this question
or