Collapse ListBox

3 posts, 0 answers
  1. Revathi Panneerselvam
    Revathi Panneerselvam avatar
    9 posts
    Member since:
    Jul 2009

    Posted 20 Oct 2010 Link to this post

    Is it possible to Collapse\Expand a ListBox control? any Idea to do that?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 20 Oct 2010 Link to this post

    Hello,


    One work-around to achieve the appearance is, adding the Listbox in PanelBar control.

    aspx:
    <telerik:RadPanelBar ID="RadPanelBar1" runat="server">
        <Items>
            <telerik:RadPanelItem Text="Select Items">
                <Items>
                    <telerik:RadPanelItem>
                        <ItemTemplate>
                            <telerik:RadListBox ID="RadListBox123" runat="server" AllowReorder="True" AppendDataBoundItems="True"
                                EnableDragAndDrop="True">
                                <Items>
                                  . . .
                                </Items>
                            </telerik:RadListBox>
                        </ItemTemplate>
                    </telerik:RadPanelItem>
                </Items>
            </telerik:RadPanelItem>           
        </Items>
    </telerik:RadPanelBar>




    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Revathi Panneerselvam
    Revathi Panneerselvam avatar
    9 posts
    Member since:
    Jul 2009

    Posted 20 Oct 2010 Link to this post

    Thanks a lot Princy.
    It is realy helpfull to me and working fine.
    Just I have added allowCollapseAllItem="true" on RadPanelBar.
Back to Top