RadPanelBar width

2 posts, 0 answers
  1. Kamran
    Kamran avatar
    16 posts
    Member since:
    Nov 2011

    Posted 26 Dec 2011 Link to this post

    Hi Team,
     When I add Radgridview in  RadPanelBar and provide gridview column width in vector, percentage then gridview column width expends, and does not resize according to value given. RadPanelBar horizontal scrollbar automatically enables. If I provide fix width to radGridView column then its behaivor is ok. Please advise.

    <ns:PanelBar Padding="10" IsExpandOnSingleClickEnabled="True" IsSingleExpandPath="True" Grid.Row="2" Grid.Column="0">
                <ns:PanelBarItem IsExpanded="True" Header="General" Style="{StaticResource PanelBarItemStyleWithArrow}">
                        <ns:GridView AutoGenerateColumns="False" Name="gvAssetAccess" Margin="5" CanUserDeleteRows="False"
                                 telerik:StyleManager.Theme="Metro" CanUserSelect="True" HorizontalAlignment="Center" ShowGroupPanel="False"
                                 Width="Auto" Height="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" Grid.Row="1" Grid.Column="0">
                                <ns:GridViewDataColumn IsFilterable="False" Width=".20*" MinWidth="130">
                                        <ns:Label FlowDirection="LeftToRight" HorizontalAlignment="Center" Content ="Document Category"  Name="lblDocumentCategory" />
                                <ns:GridViewDataColumn IsFilterable="False" Width=".20*" MinWidth="130">

  2. Kiril Stanoev
    Kiril Stanoev avatar
    1512 posts

    Posted 29 Dec 2011 Link to this post

    Hi Kamran,

    Try setting the ScrollViewer.HorizontalScrollBarVisibility="Disabled" property of RadPanelBar and let me know if it helps. I'd be glad to further assist you.

    Kiril Stanoev
    the Telerik team

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

Back to Top