Save all Dock's sate info together

2 posts, 0 answers
  1. Kia
    Kia avatar
    38 posts
    Member since:
    Mar 2008

    Posted 11 Mar 2008 Link to this post


    I have a page with several docks created in design time. Would like the state of each saving to a database, but there are a large number of items breaking a state object down. Is it possible to save the lot in one go?

    eg, I can get GetState.ToString, but then is it possible to somehow apply the lot in one hit with ApplyState?

    Also occasionally I may want to programmatically move one of the existing docks around the layout control(eg:change order to the bottom). Is this possible?

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

    Posted 18 Mar 2008 Link to this post

    Try to use the JavaScriptSerializer as shown in this example:
Back to Top