Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > PanelBar > RadPanelBar width

Not answered RadPanelBar width

Feed from this thread
  • Kamran avatar

    Posted on Dec 26, 2011 (permalink)

    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}">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition/>
                            <RowDefinition/>
                            <RowDefinition/>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <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:GridView.Columns>
                                <ns:GridViewDataColumn IsFilterable="False" Width=".20*" MinWidth="130">
                                    <ns:GridViewDataColumn.Header>
                                        <ns:Label FlowDirection="LeftToRight" HorizontalAlignment="Center" Content ="Document Category"  Name="lblDocumentCategory" />
                                    </ns:GridViewDataColumn.Header>
                                </ns:GridViewDataColumn>
                                <ns:GridViewDataColumn IsFilterable="False" Width=".20*" MinWidth="130">

    Attached files

    Reply

  • Kiril Stanoev Kiril Stanoev avatar

    Posted on Dec 29, 2011 (permalink)

    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.

    Greetings,
    Kiril Stanoev
    the Telerik team

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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > PanelBar > RadPanelBar width
Related resources for "RadPanelBar width"

Silverlight PanelBar Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]