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

Get RadPane in RadDocking

1 Answer 32 Views
Docking
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 06 Feb 2013, 07:12 PM
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

1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 11 Feb 2013, 12:37 PM
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.

Tags
Docking
Asked by
ITA
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or