Unpinning pane disables and clears other panes

4 posts, 0 answers
  1. Mike
    Mike avatar
    3 posts
    Member since:
    Oct 2010

    Posted 20 Oct 2010 Link to this post

    I have created a Silverlight application with a RadDocking panel with the following code:

    <telerik:RadDocking Name="radDocking1" Grid.Row="1" HasDocumentHost="False">
      <telerik:RadSplitContainer Orientation="Vertical">
         <telerik:RadSplitContainer Orientation="Horizontal">
            <telerik:RadPaneGroup>
              <telerik:RadPane Name="radPane3" Header="Event Calendar" ContextMenuTemplate="{x:Null}" telerik:RadDocking.SerializationTag="radPane3" IsPinned="True">
                 <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
                    <!-- Custom Silverlight Control -->
                 </ScrollViewer>
              </telerik:RadPane>
            </telerik:RadPaneGroup>
            <telerik:RadPaneGroup>
              <telerik:RadPane Name="radPane2" Header="Financials" ContextMenuTemplate="{x:Null}" telerik:RadDocking.SerializationTag="radPane2" IsPinned="True">
                 <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
                    <!-- Custom Silverlight Control -->
                 </ScrollViewer>
              </telerik:RadPane>
            </telerik:RadPaneGroup>
         </telerik:RadSplitContainer>
         <telerik:RadSplitContainer Orientation="Horizontal">
            <telerik:RadPaneGroup>
              <telerik:RadPane Name="radPane1" Header="Promotions" ContextMenuTemplate="{x:Null}" telerik:RadDocking.SerializationTag="radPane1" IsPinned="True">
                 <ScrollViewer HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Auto">
                    <!-- Custom Silverlight Control -->
                 </ScrollViewer>
              </telerik:RadPane>
            </telerik:RadPaneGroup>
            <telerik:RadPaneGroup>
              <telerik:RadPane Name="radPane4" Header="Event Details" ContextMenuTemplate="{x:Null}" telerik:RadDocking.SerializationTag="radPane4" IsPinned="True">
                 <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
                    <!-- Custom Silverlight Control -->
                 </ScrollViewer>
              </telerik:RadPane>
            </telerik:RadPaneGroup>
         </telerik:RadSplitContainer>
      </telerik:RadSplitContainer>
    </telerik:RadDocking>

    This creates a nice four-pane view of four separate controls. However, if I unpin the pane named "radPane3" (i.e., click the pin icon in its header), the pane goes into its unpinned state on the left, but the remaining panes are seemingly disabled and cleared. I will attempt to attach a screenshot.

    Interestingly, if I drag the window such that it begins floating, the content reappears. After docking again the content remains. However, subsequent pin/unpin events cause the content to disappear again.
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 25 Oct 2010 Link to this post

    Hi Mike,

    Thank you for contacting us and for the screenshot.

    I tried to reproduce the described behaviour, but to no avail. Could you please prepare a sample project in which this issue can be observed and send it to us. In that way we will be able to provide you with a solution in a timely manner.

    Looking forward to your reply.

    Kind regards,
    Konstantina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Dmitriy
    Dmitriy avatar
    5 posts
    Member since:
    Oct 2013

    Posted 13 Jan Link to this post

    Hi, I have the same problem. When I unpin Pane it's content is lost. But when I pin pane to docking - content comes back and apllication work correctly.

    May be this information will be useful:
    content of each pane is UserControl 

    We made one modification in pane's content view : Set UserControl property: x:ClassModifier="internal". 
    This modification we implement in all UserControls, but some panes work correctly, some with content losing.
  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 14 Jan Link to this post

    Hi Dmitriy,

    Thank you for contacting us.

    As we see that you have also wrote about the same case in this forum thread, could you follow the instructions from it and continue our discussion as suggested.

    Regards,
    Vladi
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top