RadPane on the top of RadDocking

2 posts, 0 answers
  1. deepak
    deepak avatar
    25 posts
    Member since:
    Jan 2011

    Posted 11 Jun 2012 Link to this post

    Hi all
    in the current q1 sp1, RadPanes are inside the docking if docking has a smaller width. this was not a problem in the previous q1 release. please use the following code to generate the error.  I am also attaching the screen shot.
    <Window x:Class="RadControlsWpfApp3.MainWindow"
                    Title="MainWindow" Height="350" Width="525">
                <ColumnDefinition Width="auto"/>
                <telerik:RadDocking AllowUnsafeMode="True" >
                <telerik:RadSplitContainer Orientation="Vertical">
                        <telerik:RadPane Header="1" IsPinned="False"></telerik:RadPane>
                        <telerik:RadPane Header="2" IsPinned="False"></telerik:RadPane>

  2. Georgi
    Georgi avatar
    362 posts

    Posted 13 Jun 2012 Link to this post

    Hello deepak,

    Although it looks like an issue, actually the behavior is expected. We have fixed an issue in Q1 SP and since then the unpined Panes can not go beyond RadDocking layout, which should be the correct behavior. So in this case the width of the RadDocking is constrained by the width of the Grid's column and therefore the unpined Pane is smaller. 
    I am not sure about the layout of your application, but it seems like you can use DocumentHost and achieve the same thing. In the attached project you can see how to implement that. What I have basically done is:
    •  Set Visibility="Collapsed" CanUserClose="False" to the RadPane into the DocumentHost.
    •  Delete the 3 borders into the PaneGroup_DocumentFrameTemplate - BorderLayer1, BorderLayer2, BorderLayer3
    Hope this will help.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top