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

Need the nodes to expand automatically

Thread ID:





42515 Mar 30,2006 01:40 PM UTC Mar 30,2006 02:21 PM UTC WinForms 1
Tags: Tools
Administrator [Syncfusion]
Asked On March 30, 2006 01:40 PM UTC

Hi, When I try to add a child node to a collapsed node, its not getting expanded automatically. I need the nodes to get expanded automatically for renaming the newly added node. Is this possible?!! Thanks, Prakash

Deepa TS [Syncfusion]
Replied On March 30, 2006 02:21 PM UTC

Hi Prakash, While adding child node to a collpased node,the nodes can be expanded by using the following code.It helps to check if the selected node is expanded.If not, it expands the node before editing. //expands the node before editing if (this.treeViewAdv1.SelectedNode.Expanded == false) { this.treeViewAdv1.SelectedNode.ExpandAll(); } Please take a look at the attached sample and let me know if this helps you. Regards, Deepa.



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