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

Floating RadPane don´t show content

1 Answer 86 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Mirko
Top achievements
Rank 1
Mirko asked on 04 Oct 2012, 08:55 AM
Hi,

I have a problem if a user float a docked RadPane. If the RadPane is docked the content is visible! 

If the user now floatin the RadPane the content of the pane are hidden.

I canĀ“t find the bug in my code. I check my code with the example of the RadDocking SL demo. 

<telerik:RadDocking Grid.Row="1" x:Name="DockingFrame" Close="DockingFrame_Close" >
      <telerik:RadDocking.DocumentHost >
        <telerik:RadSplitContainer>
          <telerik:RadPaneGroup x:Name="MyMap">
            <telerik:RadPane Title="{Binding MapTabHeader}" Header="{Binding MapTabHeader}" telerik:RadDocking.SerializationTag="DocumentPane" TitleTemplate="{StaticResource TitleTemplate}" HeaderTemplate="{StaticResource TitleTemplate}" CanFloat="False" CanUserClose="False">
              <telerik:RadPane.Content>
                <Lab:LabContentControl x:Name="MapContent" Content="{Binding MapViewModel}" Grid.Column="1">
                  <Lab:LabContentControl.ContentTemplate>
                    <DataTemplate>
                      <Views:LabMapView Lab:LabDragAndDropManager.IsDropDestination="True" />
                    </DataTemplate>
                  </Lab:LabContentControl.ContentTemplate>
                </Lab:LabContentControl>
              </telerik:RadPane.Content>
            </telerik:RadPane>
          </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
 
 
      </telerik:RadDocking.DocumentHost>
 
      <telerik:RadSplitContainer telerik:DockingPanel.InitialSize="300,150" 
                    Name="RightContainer" InitialPosition="DockedRight" Orientation="Vertical"   >
 
        <telerik:RadPaneGroup x:Name="pnlItemsAndLabts" >
          <telerik:RadPane x:Name="pnlProjectItem" Header="Project Inspektor" telerik:RadDocking.SerializationTag="pnlProjectItem" CanFloat="False" CanUserClose="False">
            <Lab:LabContentControl Content="{Binding ProjectItemViewModel}" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
              <Lab:LabContentControl.ContentTemplate>
                <DataTemplate>
                  <Views:LabProjectItemView Lab:LabDragAndDropManager.IsDropDestination="True" />
                </DataTemplate>
              </Lab:LabContentControl.ContentTemplate>
            </Lab:LabContentControl>
          </telerik:RadPane>
 
          <telerik:RadPane x:Name="pnlProjectLabt" Header="Projecten" telerik:RadDocking.SerializationTag="pnlProjectLabt"  CanFloat="False" CanUserClose="False">
            <Lab:LabContentControl Content="{Binding ProjectLabtViewModel}" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
              <Lab:LabContentControl.ContentTemplate>
                <DataTemplate>
                  <Views:LabProjectLabtView Lab:LabDragAndDropManager.IsDropDestination="True"/>
                </DataTemplate>
              </Lab:LabContentControl.ContentTemplate>
            </Lab:LabContentControl>
          </telerik:RadPane>
 
          <telerik:RadPane x:Name="pnlProjectItemItem" Header="Project Item Inspektor" telerik:RadDocking.SerializationTag="pnlProjectItemItem" CanFloat="False" CanUserClose="False">
            <Lab:LabContentControl Content="{Binding ProjectItemItemViewModel}" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
              <Lab:LabContentControl.ContentTemplate>
                <DataTemplate>
                  <Views:LabProjectItemItemView Lab:LabDragAndDropManager.IsDragSource="True" />
                </DataTemplate>
              </Lab:LabContentControl.ContentTemplate>
            </Lab:LabContentControl>
          </telerik:RadPane>
 
          <telerik:RadPane x:Name="pnlProjectItemLabt" Header="Project Item" telerik:RadDocking.SerializationTag="pnlProjectItemLabt"  CanFloat="False" CanUserClose="False">
            <Lab:LabContentControl Content="{Binding ProjectItemLabtViewModel}" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
              <Lab:LabContentControl.ContentTemplate>
                <DataTemplate>
                  <Views:LabProjectItemLabtView Lab:LabDragAndDropManager.IsDropDestination="True" Lab:LabDragAndDropManager.IsDragSource="True" />
                </DataTemplate>
              </Lab:LabContentControl.ContentTemplate>
            </Lab:LabContentControl>
          </telerik:RadPane>
        </telerik:RadPaneGroup>
      </telerik:RadSplitContainer>
 
    </telerik:RadDocking>

Thanks for any answer!

Mirko

1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 09 Oct 2012, 06:57 AM
Hi Mirko,

We tried to reproduce the issue with the code you provided to us but with no success. The only modifications we made was to replace the Lab:LabContentControl controls with simple TextBox controls.

Could you try to reproduce the issue with only TextBox controls inside the RadPanes and lets us know if the issue persists?

Kind regards,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

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