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

Nested Items in Dropdownlist

2 Answers 247 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Mohammed
Top achievements
Rank 1
Mohammed asked on 30 Jul 2016, 08:37 PM

Can anyone advise if it is possible to nest items in a rad drop down list in Winforms?

I've looked at the documentation which doesn't mention this, but would like to know if it is actually possible.  Here's an example of what I need to do:

Yorkshire
    Leeds
    Bradford
    Wakefield
Hampshire
    Southhampton
    Portsmouth

In the above list, I need to be able to select a value at all levels... eg Yorkshie or Leeds

Thanks in advance...

2 Answers, 1 is accepted

Sort by
0
Mohammed
Top achievements
Rank 1
answered on 01 Aug 2016, 09:49 AM

I'm looking for something in between the DropDownList and the TreeView if anyone can shed some light on this?

TreeView
http://docs.telerik.com/devtools/winforms/treeview/styling-and-appearance/tree-lines-and-rows

DropDownList
http://docs.telerik.com/devtools/winforms/dropdown-listcontrol-and-checkeddropdownlist/dropdownlist/dropdownlist

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 01 Aug 2016, 12:48 PM
Hello Mohammed,

Thank you for writing. 

RadDropDownList is not supposed to present nested items. It is relevant for RadMenu. However, if you need to display RadTreeView in a popup, I would recommend you to use a RadPopupEditor and add the RadTreeView to the RadPopupContainer. Additional information for the RadPopupEditor is available here: http://docs.telerik.com/devtools/winforms/editors/popupeditor/popupeditor

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Tags
DropDownList
Asked by
Mohammed
Top achievements
Rank 1
Answers by
Mohammed
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or