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

Migration from existing dock

1 Answer 92 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Tom Gioconda
Top achievements
Rank 1
Tom Gioconda asked on 26 Apr 2007, 06:42 PM
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.

1 Answer, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 11 May 2007, 11:56 AM
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.

Regards,
Valeri Hristov (Senior Developer, MCSD)
the telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
Tom Gioconda
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Share this question
or