We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Suppress Node Select in Treeview

Hi,
I am trying to use a Treeview control for navigation but not have the node selected after a person clicks a node. I would like to be able to hit the same node (child nodes) as many times as possible without it becoming selected. Currently if the node is clicked it becomes selected and I cannot click the same node again. I have to click another node and then click the node I first selected in order to click it again.

Thanks.
David.

1 Reply

DA David A. Gonzales September 25, 2007 01:34 PM UTC

Found a simple solution to my problem. After handling the NodeSelecting event I set the currently selected node to index 0 (a folder). So, basically I am resetting the selected node to a different node each time. Probably not the best solution but it works.

David

Loader.
Live Chat Icon For mobile
Up arrow icon