Persisting RadGrid settings with GridSettingsPersister helper class

Thread is closed for posting
1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1591 posts
    Member since:
    Oct 2004

    Posted 22 Oct 2013 Link to this post


    RadControls version 2011 Q1 and later
    .NET version 2.0 and later
    Visual Studio version 2008 and later
    programming language C# / VB.NET
    browser support

    all browsers supported by RadControls

    This example demonstrates saving and restoring RadGrid settings by user.
    Using the GridSettingsPersister, you can save/restore the following grid settings:
        Page size
        Group-by expressions
        Sort expressions
        Filter expression
        Column settings
    To simulate a different user, make a selection from the "User" combo box.
    For each user, the settings can be saved and restored using the buttons located below the combo.

    Demo instructions:
    Make changes to the grid by applying filter/group-by/sort expressions. Reorder and resize columns, or show/hide columns using the header context menu.
    Then, save the settings and choose a different user from the combo. Make additional changes and save these as well. Finally, you can choose a user from
    the combo box and restore the settings associated with this user.
Back to Top