Is it possible to make a treeview have multiple selections? I would be willing to use the checkboxes if I could keep some nodes from having the checkboxes. Is any of this possible?
Thanks
Printable View
Is it possible to make a treeview have multiple selections? I would be willing to use the checkboxes if I could keep some nodes from having the checkboxes. Is any of this possible?
Thanks
nope. You would have to create your own, that functionality is not built into the treeview. The best you could do with the stock treeview, is to give all nodes checkboxes, but via code, disallow checking/unchecking of specific boxes
Any suggestions on what I might use then? This is what I am trying to do. The [] is where the check box would be. The user would only be seelcting items with a check box.
HTML Code:-Board 1
- Channel 1
[] Source 1
[] Source 2
[] Source 3
[] Source 4
- Channel 2
[] Source 1
[] Source 2
[] Source 3
[] Source 4
- Channel 3
[] Source 1
[] Source 2
[] Source 3
[] Source 4
+Board 2
+Board 3
my best suggestion (maybe someone else would have a better one) would be to make the top level nodes like board1 and channel 1 already checked. if the user unchecks them, you recheck them via code, so it looks like they are not able to be changed.
other than that I am not sure what else you might want to do other than seperating this into several listbox controls.