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

Rad Docking layout Save And Load Problem(urgent)

1 Answer 46 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Muhammad
Top achievements
Rank 1
Muhammad asked on 07 Aug 2012, 09:59 AM
Hi,
i am only saving and loading  the layout of the docking ,which is fine ,but there is problem i am applying documenthosttemplate(to show the pane tabs bottom not on the top) in the xaml.but when i load layout of the docking it does not load that template can you please tell me how i can load and apply the template in code.

 <telerik:RadDocking x:Name="radDocking1"
                                Width="Auto"
                                Height="Auto"
                                AllowUnsafeMode="True"
                                Background="{StaticResource isoftBackColour}"
                                BorderThickness="0">
                <telerik:RadDocking.DocumentHost>
                    <telerik:RadSplitContainer Background="{StaticResource isoftBackColour}">
                        <telerik:RadPaneGroup x:Name="RepGroup"
                                              Margin="0,5,0,0"
                                              DocumentHostTemplate="{StaticResource RadPaneGroupControlBottomTemplate}"
                                              SelectionChanged="RadPaneGroup_SelectionChanged">
                                                                 and so on

DocumentHostTemplate="{StaticResource RadPaneGroupControlBottomTemplate}" is the template responsible for the radpane to be displayed at bottom.this is the template which is not loaded when the layout of the docking is loaded.

with best regards  

1 Answer, 1 is accepted

Sort by
0
Muhammad
Top achievements
Rank 1
answered on 07 Aug 2012, 11:04 AM
its resolved missing seialization tag on the respective panegroup.thats why it was not saving the layout setting for that group.
Tags
Docking
Asked by
Muhammad
Top achievements
Rank 1
Answers by
Muhammad
Top achievements
Rank 1
Share this question
or