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

State persistence betwwen different pages

1 Answer 40 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Praveen
Top achievements
Rank 1
Praveen asked on 28 Aug 2008, 11:09 AM
Hi,
    Suppose i want to use same splitter in all of my pages and want the state of the splitter, pane and bar persist for current user session. i.e if user make some changes in the splitter of first page the same look persist for all other pages visited by the user afterwords. Please give me the solution.

1 Answer, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 28 Aug 2008, 12:22 PM
Hi Praveen,

Our suggestion to achieve the scenario you describe is to place the RadSplitter in a MasterPage so that all its content pages will use the same splitter. You want to persist the changes made to the splitter when navigating to the different content pages. That is why, you will need to store the splitter's state in Session/Database depending on the requirements of your exact scenario. I suggest you take a look at the Save/Load State on server online example of the RadSplitter which demonstrates how to save/load the splitter's state using a Session object.
If you need further assistance, do contact us again.

Sincerely yours,
Sophy
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Splitter
Asked by
Praveen
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Share this question
or