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

RadPane not displayed on browser minimized

1 Answer 45 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Rogério
Top achievements
Rank 1
Rogério asked on 25 Mar 2009, 07:30 PM
Hello,

I created an application that uses RadDock to display RadPane on the LeftSide. I've noticed that sometimes the RadPane is not displayed! If I start the application and minimize the browser before the UserControl is displayed the RadePane is not shown! On the other hand, If I start the application with the browser in the normal view state, everyting works fine!

Here is the mais peace of XAML of my UserControl. I cannot reproduce this behavior on other applications!

   <Grid x:Name="LayoutRoot" Background="White">
        <radDock:RadDocking Grid.Row="1" x:Name="radDocking1">

            <radDock:RadSplitContainer radDock:DockingPanel.InitialSize="200,200" MaxWidth="600"
                    Name="LeftContainer" InitialPosition="DockedLeft">
                <radDock:RadPaneGroup >
                    <radDock:RadPane x:Name="ContainerPane" Header="Container">
                        <TextBlock Text="Hello World" />

                    </radDock:RadPane>
                </radDock:RadPaneGroup>
            </radDock:RadSplitContainer>

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Boyan
Telerik team
answered on 30 Mar 2009, 11:44 AM
Hello Rogério,

Sorry for the late reply. This is a weird problem indeed. We found an easy workaround that you can use for now, until SP1 is released where the problem will be addressed.
In order the Dock to properly show just add these lines to the code behind:
 
radDocking1.Loaded += new RoutedEventHandler(radDocking1_Loaded); 
void radDocking1_Loaded(object sender, RoutedEventArgs e) 
radDocking1.UpdateLayout(); 
 

Hope that will work for you. I have updated your Telerik points for your involvement.

Best wishes,
Boyan
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Docking
Asked by
Rogério
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Share this question
or