persisting settings

3 posts, 0 answers
  1. Dave
    Dave avatar
    36 posts
    Member since:
    Jan 2008

    Posted 05 Aug 2011 Link to this post

    Is there any way to persist the settings for a listview (i.e. current sort column) similar to the way the RadGrid does or do I have to manually store a session variable or something?
  2. Dave
    Dave avatar
    36 posts
    Member since:
    Jan 2008

    Posted 10 Aug 2011 Link to this post

    Anyone able to help with this? Thanks!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Veli
    Veli avatar
    2002 posts

    Posted 11 Aug 2011 Link to this post

    Hi Dave,

    We do not have a ready solution for persisting RadListView settings, but you can use the same approach as with RadGrid's settings persister. You need to collect the required settings and store them in a either a custom settings collection. You can then serialize the collected settings to different formats. When restoring settings, reciprocally you need to deserialize the saved settings to retrieve the settings container, then restore the saved settings to a RadListView instance. Finally, you need to rebind the listview for the changes to take effect.

    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top