Hi,
I am hosting a radgridview in a RadDocumentPane, The gridview's source is set by code and can change dependent on user selection. I would like the radgridview height to size to the RadDocumentPane so that the scrollbars would show automatically and the radgridview would not extend beyond the bottom of the RadDocumentPane. I have not been able to acheive this, would you please advice me on this.
Regards,
Joe
<telerik:RadDocking BorderThickness="0" Padding="2">
<telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer >
<telerik:RadPaneGroup>
<telerik:RadDocumentPane telerik:StyleManager.Theme="Office_Black" x:Name="optpnl" Width="400" >
<StackPanel Orientation="Vertical" >
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" >
<telerik:RadGridView x:Name="InfoGrid" RowHeight="10.5" telerik:StyleManager.Theme="Office_Black"
AutoGenerateColumns="True" ShowGroupPanel="False" AlternateRowBackground="LightBlue" AlternationCount="2"
IsReadOnly="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed"
CanUserReorderColumns="True" CanUserSortColumns="False" Padding="0" Margin="2,2,2,2">
</telerik:RadGridView>
</ScrollViewer>
<telerik:RadBusyIndicator x:Name="busyInd" telerik:StyleManager.Theme="Office_Black" ></telerik:RadBusyIndicator>
</StackPanel>
</telerik:RadDocumentPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking.DocumentHost>
</telerik:RadDocking>
I am hosting a radgridview in a RadDocumentPane, The gridview's source is set by code and can change dependent on user selection. I would like the radgridview height to size to the RadDocumentPane so that the scrollbars would show automatically and the radgridview would not extend beyond the bottom of the RadDocumentPane. I have not been able to acheive this, would you please advice me on this.
Regards,
Joe
<telerik:RadDocking BorderThickness="0" Padding="2">
<telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer >
<telerik:RadPaneGroup>
<telerik:RadDocumentPane telerik:StyleManager.Theme="Office_Black" x:Name="optpnl" Width="400" >
<StackPanel Orientation="Vertical" >
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" >
<telerik:RadGridView x:Name="InfoGrid" RowHeight="10.5" telerik:StyleManager.Theme="Office_Black"
AutoGenerateColumns="True" ShowGroupPanel="False" AlternateRowBackground="LightBlue" AlternationCount="2"
IsReadOnly="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed"
CanUserReorderColumns="True" CanUserSortColumns="False" Padding="0" Margin="2,2,2,2">
</telerik:RadGridView>
</ScrollViewer>
<telerik:RadBusyIndicator x:Name="busyInd" telerik:StyleManager.Theme="Office_Black" ></telerik:RadBusyIndicator>
</StackPanel>
</telerik:RadDocumentPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking.DocumentHost>
</telerik:RadDocking>