How can we disable individual nodes in a treeview in .Net?
C#
5
Posts
4
Posters
0
Views
1
Watching
-
I'm pretty sure you can't.
Christian Graus - C++ MVP
-
Depends on what you are doing: WPF: Individual nodes can be disabled, so no problem. WinForm: Handle the events on the tree - so if your node is selected, deselect it again (this probably won't be pretty to look at - in the Form or in the code, but that is the price you pay when using an obsolete GUI) ASP.NET: You might pull something off client side, but I do not know how to do it - and if it is possible.