Hi,
I have a problem with RadDock.
And I managed to reproduce it in a very small sample.
To explain what's going on - I serialize a RadDock when I leave a view - and restore it later when I come back (load again) to this view.
In the real application I store the values in a database - the attached sample uses simply a string to show the behavior.
I also found a post (which may be about the same problem).
http://www.telerik.com/forums/problem-with-loading-layout#4kMNn5jNsEuXcZtbd0k4-w
But this post is pretty old (2011) and there is a statement: "We will fix this problem with loading the layout in our future releases."
So I guess my problem is something different.
To show that the solution in general works try:
Move one window to the right side of the document pane.
Click V2 (which shows View 2) - Click V1 - and see the restored pane.
Drag the window out of the Dock to see it "free floating" - again switch the views - everything works fine.
To reproduce the problem do:
Close the floating window and switch the view.
Although the code runs and "CurVM" is set to the different view nothing happens.
In simple words - store / restore fails if I have a closed floating window.
Regards
Manfred