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.
Syncfusion Feedback

select the newly added tree node child

Thread ID:

Created:

Updated:

Platform:

Replies:

31544 Jul 8,2005 06:24 PM UTC Jul 13,2005 03:05 PM UTC Windows Forms 3
loading
Tags: Tools
Tiff
Asked On July 8, 2005 06:24 PM UTC

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 07:20 PM UTC

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.

Tiff
Replied On July 8, 2005 09:05 PM UTC

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 03:05 PM UTC

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.

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

;