Whenever I save a docked out (floating) Dock Window using SaveToXml(), and then load it back.
After loading using LoadFromXml() my docked out (floating) dock Window gets converted into a Tool window.
Kindly suggest a solution for this problem.
4 Answers, 1 is accepted
We are not aware of such an issue with RadDocking. Can you provide more details regarding the exact scenario or a sample application that reproduces the problem so we can check it on our side?
I'm looking forward to hearing from you.
Regards,
Kalin
Progress Telerik
Hi Kalin,
I can explain you the exact scenario.
You'll have two windows
DocumentWindow mainWindow;
DockWindow secondWindow;
Initialize and add the secondWindow at run time and dock it to the mainWindow as tabbed document.
Now dock out both windows from the RadDock (make them floating windows)
Now save the layout using SavetoXml() and close the application.
Now run the application again and load the previously saved layout using LoadFromXml()
And dock these floating windows back in the RadDock, now there you'll see that the secondWindow has now been converted to ToolWindow instead of being a DockWindow.
What do you mean by "DockWindow" what is the difference between the DockWindow and ToolWindow? Can you share a video demonstrating the issue as well as sample code that reproduces it?
I'm looking forward to hearing from you.
Regards,
Kalin
Progress Telerik
Hi,
I'm sorry I just found out that i have posted this issue in wrong section.
It is a winforms issue not of wpf
Kindly delete this post.
Thank you for your time & support.