This question is locked. New answers and comments are not allowed.
Hi,
we are implementing a portal applcation and we laod Pages inside a Frame using Navigation Frawork. The xaml code in which the Frame is cotained uses a Scrollviewer. But when we are loading Pages wich contain Dockings, there are problems wiht the displaying of Colums of GridView. The problem also exist when I do not use a Frame, so I isolated some sample code, where you can see the problem. I attached two screenshots and here is the code:
If I let this example run, only two columns of the RadGridView are visible (image 1), the other appear when I use the horizontal scrollbar of the GridView (image 2). I tried setting width of columns, but it does not work.
It seems, as if hte with of the colums cannot be calculated correctly. Is there a way to get such a scenario work?
I am using version in our project 2011.3.1116.1040. I also tried this code with versin Q1 2012 but it did not work anyway.
Thanks for help,
Li
we are implementing a portal applcation and we laod Pages inside a Frame using Navigation Frawork. The xaml code in which the Frame is cotained uses a Scrollviewer. But when we are loading Pages wich contain Dockings, there are problems wiht the displaying of Colums of GridView. The problem also exist when I do not use a Frame, so I isolated some sample code, where you can see the problem. I attached two screenshots and here is the code:
<UserControl x:Class="ScrollBarTest.MainPage" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" > <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"> <telerik:RadDocking AllowUnsafeMode="True" x:Name="MainDocking" > <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedTop"> <telerik:RadPaneGroup> <telerik:RadPane CanUserClose="False" CanUserPin="False" ContextMenuTemplate="{x:Null}"> <Grid> <telerik:RadGridView > <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Header="Header1" /> <telerik:GridViewDataColumn Header="Header2" /> <telerik:GridViewDataColumn Header="Header3" /> <telerik:GridViewDataColumn Header="Header4" /> <telerik:GridViewDataColumn Header="Header5" /> </telerik:RadGridView.Columns> </telerik:RadGridView > </Grid> </telerik:RadPane> </telerik:RadPaneGroup> </telerik:RadSplitContainer> </telerik:RadDocking> </ScrollViewer></UserControl>If I let this example run, only two columns of the RadGridView are visible (image 1), the other appear when I use the horizontal scrollbar of the GridView (image 2). I tried setting width of columns, but it does not work.
It seems, as if hte with of the colums cannot be calculated correctly. Is there a way to get such a scenario work?
I am using version in our project 2011.3.1116.1040. I also tried this code with versin Q1 2012 but it did not work anyway.
Thanks for help,
Li
