Migration from existing dock

2 posts, 0 answers
  1. Tom Gioconda
    Tom Gioconda avatar
    10 posts
    Member since:
    Jan 2006

    Posted 26 Apr 2007 Link to this post

    Previously, I had built a pretty comprehensive layout control system with rad dock.  Eventually, I'll be migrating to the new version of the dock, although I will probably wait until the editor is migrated to prometheus as well. 

    One problem that I'd like answered before I even start said work, though, has to do with the dock state.  From what I've gathered in the docs, the dock now stores its state by calling returning a List of DockState objects.  I assume one would serialize the list and store it into a database, as restore it and apply said state on init later. 

    While this is a much more elegant way of doing things, it presents me with a problem.  The old dock stored state differently.  We have lots of old style state stored in our production database that I'd need to convert somehow.  I understand it probably wouldn't be a one to one transition, but any help in figuring out the best way to do this would be handy.  It is probably one of the biggest migration issues we'd face.
  2. Valeri Hristov
    Valeri Hristov avatar
    2252 posts

    Posted 11 May 2007 Link to this post

    Hi Tom,

    Attached is a page, which demonstrates how to decrypt the "old" RadDock state strings and convert them to the new DockState objects. You will need to add references to RadDock.Net2.dll and Telerik.Web.UI.dll (the latest build, which could be found in this forum). Please, let me know if you encounter problems using it.

    Valeri Hristov (Senior Developer, MCSD)
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top