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

select the newly added tree node child

Thread ID:





31544 Jul 8,2005 02:24 PM Jul 13,2005 11:05 AM Windows Forms 3
Tags: Tools
Asked On July 8, 2005 02:24 PM

Is there a way to select the newly add child node besides looping thru all the children of the parent node & look for a node with text = TreeNodeAdv? Since the newly add child node will always be at the end of the list & has an index of parentNode.nodecount -1, is there a way to use this index info to select the new child?

Administrator [Syncfusion]
Replied On July 8, 2005 03:20 PM

Hi Tiff, If you keep a reference to the Node when you add it, you should just be able to set the SelectedNode property of the TreeViewAdv to that reference. Regards, Gregory Austin Syncfusion Inc.

Replied On July 8, 2005 05:05 PM

thanx I actually have another question though. Is there a way for you undo changes you made to a tree?

Administrator [Syncfusion]
Replied On July 13, 2005 11:05 AM

Hi Tiff, Unfortunately, I am not aware of any built-in Undo/Redo functionality in the TreeViewAdv. This would be something you would need to implement yourself. Regards, Gregory Austin 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.

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.