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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Suppress Node Select in Treeview

Thread ID:

Created:

Updated:

Platform:

Replies:

68524 Sep 24,2007 02:07 PM UTC Sep 25,2007 01:34 PM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
David A. Gonzales
Asked On September 24, 2007 02:07 PM UTC

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.

David A. Gonzales
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;