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

Loading docked out (floating) DockWindow using LoadFromXml() gets loaded as ToolWindow

4 Answers 40 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Tayyaba
Top achievements
Rank 1
Tayyaba asked on 06 Jun 2017, 05:17 AM

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

Sort by
0
Kalin
Telerik team
answered on 08 Jun 2017, 04:34 PM
Hi Tayyaba,

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
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Tayyaba
Top achievements
Rank 1
answered on 09 Jun 2017, 03:59 AM

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.

0
Kalin
Telerik team
answered on 13 Jun 2017, 03:20 PM
Hi,

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
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Tayyaba
Top achievements
Rank 1
answered on 14 Jun 2017, 03:47 AM

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.

Tags
Docking
Asked by
Tayyaba
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Tayyaba
Top achievements
Rank 1
Share this question
or