Nested Items in Dropdownlist

3 posts, 0 answers
  1. Mohammed
    Mohammed avatar
    19 posts
    Member since:
    Jan 2016

    Posted 30 Jul Link to this post

    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. Mohammed
    Mohammed avatar
    19 posts
    Member since:
    Jan 2016

    Posted 01 Aug in reply to Mohammed Link to this post

    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

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dess
    Admin
    Dess avatar
    1601 posts

    Posted 01 Aug Link to this post

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