Advertisement

04.29.2008 at 07:18AM PDT, ID: 23362080
[x]
Attachment Details

How to make TreeView Control read only

Asked by kosturdur in Visual Studio .NET 2005, Microsoft Visual C#.Net, .Net Editors & IDEs

Tags: .Net

I have a TreeView control and a navigator (BindingNavigator) on my windows forms application. I want the last user only control the selected Node on the treeview by the navigator... not by clicking a node. The last user don't be allowed to click on the treeview and go whereever he wants on the trreeview. So the treeview must be readonly.

My problem is;
There isn't any property like "readonly" for the TreeView control. If I made the "enabled"  property of the treeview false then the selected node and the selected node's image didn't changed while using navigator.
Any suggestions?

If necessary I'm using Visual Studio .Net 2005.
Thanks,Start Free Trial
[+][-]04.29.2008 at 08:16PM PDT, ID: 21467856

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio .NET 2005, Microsoft Visual C#.Net, .Net Editors & IDEs
Tags: .Net
Sign Up Now!
Solution Provided By: jaime_olivares
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628