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

increase panel item width on expand

2 Answers 17 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
akpaga akpaga
Top achievements
Rank 1
akpaga akpaga asked on 31 Jul 2014, 03:54 PM
I using a rad panel bar in which the the first rad panel item is a rad grid and hence i want to increase the width of the panel item to fit the width of the rad grid.
Please tell how i can achieve this when i click on the expand button.

Thank You

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 01 Aug 2014, 05:14 AM
Hi,

Please have a look into the sample code snippet which works fine at my end also take a look into the attached screen shots.

ASPX:
<telerik:RadPanelBar ID="RadPanelBar1" runat="server">
    <Items>
        <telerik:RadPanelItem Text="Item1">
            <ContentTemplate>
                <telerik:RadGrid ID="rgridOrders" runat="server" DataSourceID="sqldsOrders">
                </telerik:RadGrid>
            </ContentTemplate>
        </telerik:RadPanelItem>
    </Items>
</telerik:RadPanelBar>

Thanks,
Princy.
0
akpaga akpaga
Top achievements
Rank 1
answered on 01 Aug 2014, 03:43 PM
Thanks Princy for the response but answer provided in This link solved my issue.
http://www.telerik.com/forums/set-width-of-radpanelitem-in-onclientitemexpand
Tags
PanelBar
Asked by
akpaga akpaga
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
akpaga akpaga
Top achievements
Rank 1
Share this question
or