This is a migrated thread and some comments may be shown as answers.
Collapse ListBox
2 Answers 29 Views
This is a migrated thread and some comments may be shown as answers.
Revathi Panneerselvam
Top achievements
Rank 1
Revathi Panneerselvam asked on 20 Oct 2010, 11:12 AM
Is it possible to Collapse\Expand a ListBox control? any Idea to do that?

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 20 Oct 2010, 11:55 AM
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.
0
Revathi Panneerselvam
Top achievements
Rank 1
answered on 20 Oct 2010, 02:14 PM
Thanks a lot Princy.
It is realy helpfull to me and working fine.
Just I have added allowCollapseAllItem="true" on RadPanelBar.
Asked by
Revathi Panneerselvam
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Revathi Panneerselvam
Top achievements
Rank 1
Share this question
or