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

5 posts, 0 answers
  1. Tayyaba
    Tayyaba avatar
    12 posts
    Member since:
    Apr 2017

    Posted 06 Jun Link to this post

    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.

  2. Kalin
    Admin
    Kalin avatar
    1279 posts

    Posted 08 Jun Link to this post

    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.
  3. Tayyaba
    Tayyaba avatar
    12 posts
    Member since:
    Apr 2017

    Posted 08 Jun in reply to Kalin Link to this post

    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.

  4. Kalin
    Admin
    Kalin avatar
    1279 posts

    Posted 13 Jun Link to this post

    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.
  5. Tayyaba
    Tayyaba avatar
    12 posts
    Member since:
    Apr 2017

    Posted 13 Jun in reply to Kalin Link to this post

    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.

Back to Top