Is there any way to prevent a user from deselecting a node. The treeView is configure to allow multiple selections. When the windows opens, some node are already selected, and I want to allow the user to select more nodes, without being able to unselect the ones that were selected at the load.
Hi,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Sincerely,DimiDeveloper Support Engineer, MCPD Infragistics, Inc.www.infragistics.com/support
You can cancel the BeforeSelect event when one of these pre-selected nodes is in the UltraTree.SelectedNodes collection but not in the BeforeSelectEventArgs.NewSelections collection. Note that this will prevent the new selection from being applied altogether, not just prevent the pre-selected node(s) from being deselected.