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

Save Dock state in cookies

1 Answer 58 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Nasser
Top achievements
Rank 1
Nasser asked on 01 Jun 2009, 07:19 AM
I used the code in the demo to SaveDockLayout but the 

SaveDockLayout event is fired only if user posted pack the page. Is there any solution to save the dock state from the client(As soon as the user changes the postion of RadDock or collapse/expand)? Dock layout is not saved if user navigate to anothor page.

Best Regards.

1 Answer, 1 is accepted

Sort by
0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 01 Jun 2009, 03:01 PM
RadDock's stat could be saved only on the server.
You could save the state via ajax on each dock's move. A simple example is available here:
http://demos.telerik.com/aspnet-ajax/dock/examples/myportal/defaultvb.aspx
Tags
Dock
Asked by
Nasser
Top achievements
Rank 1
Answers by
Obi-Wan Kenobi
Top achievements
Rank 1
Share this question
or