tags:

views:

27

answers:

2

I need to be able to select multiple options on a web form, but those options are hierarchical. For example:

Option 1
  Option 1 a
  Option 1 b
Option 2

The user should be able to select Option 1, or Option 1a, etc. Selecting Option 1 a should automatically select Option 1.

Any controls/solutions out there that fit the bill? (I'm not looking to spend $)

+1  A: 

Have a look at this article, which explains how you can accomplish this with a normal TreeView control.

http://www.mikeborozdin.com/post/ASPNET-TreeView-and-Checkboxes.aspx

Matthew Vines
+1  A: 

ComponentOne has this support built into their ASP.NET AJAX TreeView control. Another nice feature is the built-in drag and drop nodes. I would recommend looking at the checkable treeview demo here.

This can also be done with a standard ASP.NET TreeView and setting ShowCheckBoxes="all" like so.

    <asp:TreeView ID="TreeView1" runat="server" ShowCheckBoxes="All">
    </asp:TreeView>
Banzor