increase panel item width on expand

3 posts, 0 answers
  1. akpaga akpaga
    akpaga akpaga avatar
    24 posts
    Member since:
    Dec 2009

    Posted 31 Jul 2014 Link to this post

    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. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 01 Aug 2014 in reply to akpaga akpaga Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. akpaga akpaga
    akpaga akpaga avatar
    24 posts
    Member since:
    Dec 2009

    Posted 01 Aug 2014 in reply to Princy Link to this post

    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
Back to Top