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

SaveLayout problem when RadDocking within RadTabControl

1 Answer 84 Views
Docking
This is a migrated thread and some comments may be shown as answers.
TJ
Top achievements
Rank 1
TJ asked on 23 Sep 2010, 12:50 AM

Hello,

I am really hoping that someone can help me. I am new to the Telerik controls and am having an issue with the saving of the layout of a RadDocking control when it is embedded within a RadTabControl's ContentTemplate.

I am saving the layout to a file so I can verify that it is being formatted correctly, however the SerializationTags are not getting output to the file.

Here is a snippet of the XAML to show that I am setting the SerializationTag for my RadDocumentPane:

 

 

 

 

<telerikNavigation:RadTabControl.ContentTemplate>  

 

<DataTemplate>  

 

<Grid>  

 

<radDock:RadDocking x:Name="ResultDocuments" Background="Transparent"

 

 

<radDock:RadDocking.DocumentHost>

 

 

 

 

<radDock:RadSplitContainer SizeChanged="SplitContainer_SizeChanged" >

 

 

 

 

<radDock:RadPaneGroup Name="RadDocumentGroup" Background="Transparent"

 

 

 

                                           radDock:RadDocking.SerializationTag="DocumentGroup">

 

 

 

 

<radDock:RadDocumentPane

 

 

 

                            DataContext="{Binding DataContext,ElementName=ResultDocuments}"

 

 

 

                            Margin="0,0,0,-5" Name="DocumentPane" Title="Documents"

 

 

 

                            radDock:RadDocking.SerializationTag="DocumentPane"

 

 

 

                            HorizontalContentAlignment="Left" CanUserClose="False">

 

 

 

 


Here is a snippet of the output file I am getting:

 

 

 

  <RadDocking>
  <DocumentHost>
  <RadSplitContainer>
  <Items>
  <RadPaneGroup SelectedIndex="0">
  <Items>
  <RadDocumentPane IsDockable="True" Header="Documents" />
  </Items>
  </RadPaneGroup>
  </Items>
  </RadSplitContainer>
  </DocumentHost>

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Tracy
Top achievements
Rank 1
answered on 27 Sep 2010, 08:35 PM
Interesting that someone hasn't already noted that this is a known issue and can be tracked in PITS with id = 2617.

Issue ID 2617 - Problem with SerializationTags in Save/Load layout when RadDocking is placed into a DataTemplate.

Tags
Docking
Asked by
TJ
Top achievements
Rank 1
Answers by
Tracy
Top achievements
Rank 1
Share this question
or