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

Unpinning pane disables and clears other panes

3 Answers 59 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 20 Oct 2010, 09:34 PM
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.

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 25 Oct 2010, 09:14 AM
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
0
Dmitriy
Top achievements
Rank 1
answered on 13 Jan 2016, 07:54 AM
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.
0
Vladi
Telerik team
answered on 14 Jan 2016, 08:11 AM
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
Tags
Docking
Asked by
Mike
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Dmitriy
Top achievements
Rank 1
Vladi
Telerik team
Share this question
or