Get RadPane in RadDocking

2 posts, 0 answers
  1. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 06 Feb 2013 Link to this post

    hi,

    i create some RadPanes by code. Later i have to save some informations in a database. How do i
    get all of the RadPanes i created? Or better how do i get one by the title of a RadPane?

    Thanks
    Best Regards
    rene
  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 11 Feb 2013 Link to this post

    Hello Rene,

    In order to save all the Panes in the Docking control all you need to do is call the SaveLayout() method of the control.

    Managing which Panes to be saved and which not is not a built-in feature in the current version of RadDocking and in order to save the layout for only specific Panes you will need to call the SaveLayout() method after which edit the generated xml and remove the unneeded Panes based on specific Headers or SerializationTags.

    As we see you have posted about related issue in this post, we have responded about that issue in that post where you can also find an attached project that shows how to save all the Panes of the Docking control as xml file or string.

    Greetings,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top