Persist RadTextBox

3 posts, 1 answers
  1. Bryan Patrick
    Bryan Patrick avatar
    2 posts
    Member since:
    Oct 2009

    Posted 09 Jan 2015 Link to this post


    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. Answer
    Daniel
    Admin
    Daniel avatar
    4945 posts

    Posted 14 Jan 2015 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Bryan Patrick
    Bryan Patrick avatar
    2 posts
    Member since:
    Oct 2009

    Posted 14 Jan 2015 in reply to Daniel Link to this post

    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
Back to Top