Floating RadPane don´t show content

2 posts, 0 answers
  1. Mirko
    Mirko avatar
    9 posts
    Member since:
    Aug 2012

    Posted 04 Oct 2012 Link to this post

    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
  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 09 Oct 2012 Link to this post

    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.

  3. DevCraft banner
Back to Top