Keeping the RadPanelBar fully expanded

3 posts, 0 answers
  1. Ruchit
    Ruchit avatar
    3 posts
    Member since:
    Dec 2010

    Posted 19 Mar 2011 Link to this post

    Hello,

    I am working on an application wherein I want the RADPanelBar to be fully expanded 
    when the page loads the first time. After that user should have the ability to keep
    them expanded or to collapse them.

    In my case, only the first tag is expanded and others are collapsed when the page loads. 

    Kindly waiting for the reply.


    Thanks and Best Regards,
    Ruchit 
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 21 Mar 2011 Link to this post

    Hi Ruchit,


    You could set the Expanded property of root RadPanelItems to "True" in order to make those expanded initially. Also you need to set the ExpandMode proprty as "MultipleExpandedItems".
     
    ASPX:
    <telerik:RadPanelBar ID="RadPanelBar1" runat="server" ExpandMode="MultipleExpandedItems" >
        <Items>
            <telerik:RadPanelItem Text="P1" Expanded="true">
                <Items>
                    .  .  .
                </Items>
            </telerik:RadPanelItem>
            <telerik:RadPanelItem Text="P2" Expanded="true">
                <Items>
                     .  .  .
                </Items>
            </telerik:RadPanelItem>
            <telerik:RadPanelItem Text="P3" Expanded="true">
                <Items>
                    .  .  .
                </Items>
            </telerik:RadPanelItem>
        </Items>
    </telerik:RadPanelBar>



    -Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ruchit
    Ruchit avatar
    3 posts
    Member since:
    Dec 2010

    Posted 21 Mar 2011 Link to this post

    That worked perfectly for me.

    Thanks Shinu.
Back to Top