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.

Hide TreeNodeAdv

Thread ID:

Created:

Updated:

Platform:

Replies:

50708 Oct 17,2006 01:51 PM Oct 17,2006 09:03 PM Windows Forms 2
loading
Tags: Tools
Elsa C. Wood
Asked On October 17, 2006 01:51 PM

Is there a way to hide (not remove) a TreeNodeAdv in a way that it can be found and processed at a later step? I do not see a Visible property for it.

Murugan [Syncfusion]
Replied On October 17, 2006 06:52 PM

Hi Elsa,

Sorry for the inconvenience caused. In the current archetecture of TreeViewAdv control, we don't have any property or method to change the visibility of TreeNodeAdv. But we can use Enabled=false or Add and Remove nodes instead of Show and Hide.

Thanks for choosing Syncfusion products.

Best Regards,
Murugan P.S

Murugan [Syncfusion]
Replied On October 17, 2006 09:03 PM

Hi Elsa,

One option is,
When you want to hide the node, Add the node to an ArrayList and remove from the TreeView collection.
When you want to show the node, retrive the node from the ArrayList and add it back to the TreeView Collection.
HideTreeNode

Thanks,
Murugan P.S

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.

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.

;