Save Dock state in cookies

2 posts, 0 answers
  1. Nasser
    Nasser avatar
    9 posts
    Member since:
    Mar 2005

    Posted 01 Jun 2009 Link to this post

    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.

  2. Obi-Wan Kenobi
    Obi-Wan Kenobi  avatar
    460 posts
    Member since:
    Aug 2007

    Posted 01 Jun 2009 Link to this post

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