How do I disallow a user to change the state of a node in a CheckedTreeView


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
If you are using the SF CheckedTreeView, then the only option you have at the moment.  This control was added to extend this type of functionality.  You may just want to use a regular TreeView control and turn on check boxes.
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I'm using the SF CheckedTreeview. When I check a node, it affects all the nodes in related that the checked node. I.e. if it I uncheck a parent, it unchecks all the child nodes and updates the parent node as well. I need this to NOT happen. I want only the bottom level child nodes to change. Up level, they can display what happening, but can't affect the child nodes.



Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Handle the StateChanged event.  If a particular node is not allowed to be changed, set the value back to your liking.
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I would like to be able to not allow the user to change the state of the checked state in a checkedtreeview. Is there any way to do that? I.e. if the user clicks the checkbox, it is ignored for specific nodes.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search