I have a data tree that is configured from code (not bound to a datasource) and certian nodes are checked and some unchecked by design. Is there a way to not allow a user to interact with the tree other than setting the control to a disabled state? The disabled state doesn't work for me because I want the user to be able to expand/collapse the tree. In other words, I don't want the user to think that because they checked or un-checked a node that this means anything has changed in the data the tree represents. This mode of displaying the data is for informational purposes only. A picture is shown below.
Hi
"our tree control is designed to allow expand/collapse even when nodes are in disabled state."
I have seen this statement in several forum replies but I am just wondering it this has changed? I have a WebDataTree with manually added nodes some of which have Enabled=false - however, I cannot expand or collapse these nodes.
We're using 12.2.20122.1007 so just wondering if something has changed since this post last year...or is there some other settings that could affect it? I am handling the NodeClick event on the clientside and server side but that doesn't seem to affect it.
Thanks
Yes, that's a good idea and it works pretty well. I may play with the underlying CSS to polish the appearance. Thanks!
Hi,
I think setting nodes to disabled state is the only option you can use. But I think it can suit your needs because our tree control is designed to allow expand/collapse even when nodes are in disabled state. Give it a try and let me know.
Thanks for using Infragistics forums!
Regards,
Lubomir Toshev
ASP.NET Team Lead