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

RadPane - Window resize issue

1 Answer 124 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Arun
Top achievements
Rank 1
Arun asked on 26 Oct 2011, 06:15 AM

Hello Team,
 
We are in the process of converting to Telerik 2011 version from the old version. In the previous version our main screen was working fine. Now we are having an issue.

This is the situation.
We have a RadPane with a Item control in it. when we try to resize the RADPane, instead of adjusting the size of the adjcent pane, adjcent pane is getting overlapped on the RADPANE. Because of this overlapping, user is not able to see the scorll bar, which is available in the RADPANE. 

 

How do I solve this issue? I have attached the picture to show the problem.



Code:
  
        <radDock:RadDocking Grid.Row="1" x:Name="mainDockSite" Background="White" Close="mainDockSite_Close" PreviewClose="mainDockSite_PreviewClose">
  
            <radDock:RadSplitContainer radDock:DockingPanel.InitialSize="183,150" MaxWidth="600" Name="LeftContainer" InitialPosition="DockedLeft">
  
                <radDock:RadPaneGroup>
  
                    <radDock:RadPane Header="Navigator" CanUserClose="False" CanUserPin="False" Name="Navigator">
  
                        <DockPanel LastChildFill="True" HorizontalAlignment="Stretch">
  
                            <ItemsControl DockPanel.Dock="Top" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch" Name="PanelBarRegion" cal:RegionManager.RegionName="PanelBarRegion" >
  
                                <ItemsControl.ItemsPanel>
  
                                    <ItemsPanelTemplate>
  
                                        <DockPanel HorizontalAlignment="Stretch" LastChildFill="True"/>
  
                                    </ItemsPanelTemplate>
  
                                </ItemsControl.ItemsPanel>
  
                            </ItemsControl>
  
                        </DockPanel>
  
                    </radDock:RadPane>                    
  
                </radDock:RadPaneGroup>
  
            </radDock:RadSplitContainer>
  
  

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 28 Oct 2011, 01:17 PM
Hello Arun,

From which version of the control are you upgrading?
The Docking control has been majorally refactored and now behaves a bit different. However, putting DockPanel in RadPane is not supported. There is a PITS item created about this request. You can view it here. You can vote for it, track its status and see when it is going to be implemented. Also, I can suggest you to review this sample project in which is illustrated how to implement PRISM with Docking control.

Hope this information helps.

Kind regards,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
PanelBar
Asked by
Arun
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or