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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeView node shows selected but isn''t

Thread ID:





12903 Apr 14,2004 06:26 PM UTC Apr 15,2004 12:54 PM UTC WinForms 1
Tags: Tools
Allen Maxwell
Asked On April 14, 2004 06:26 PM UTC

I''m using the tree control and multi-select. I have a context menu attached to it. When I right click on an unselected node and cause the menu to come up, the node I right clicked on shows highlighting as if it were selected.. BUT, it is not. (the menu item I am using causes the current selected node to expand or collapse and the node expanding or collapsing is the last selected node, not the one highlighted IF I select it by right clicking to bring up the menu.)

Administrator [Syncfusion]
Replied On April 15, 2004 12:54 PM UTC

Hi Allen, Please refer to the sample attached here. If you notice, the Windows Forms TreeView control too behaves the same way. When right-clicked upon a TreeNode, the TreeNode gets highlighted with a selection rectangle eventhough it is not actually the SelectedNode. Our TreeViewAdv control is closely modelled on the Windows Forms TreeView control, and we too have incorporated this behavior for consistency purposes. Please let me know if you need any other information. Regards, Guru Patwal Syncfusion, Inc.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon