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.

How can set multiple nodes to tree view control

Thread ID:

Created:

Updated:

Platform:

Replies:

79115 Jan 21,2009 08:45 AM Feb 12,2009 01:54 AM Windows Forms 1
loading
Tags: Tools
Administrator [Syncfusion]
Asked On January 21, 2009 08:45 AM

Hi,

I am using syncfusion 5.102.1.47's tree view control. My requirement is to add multiple nodes to tree view control at different levels depending upon the dynamic data(not a static data).
I am arranging all the nodes in a tree view control by checking some conditions. The main problem is, it is time taking. To add nearly 15,000 nodes to a tree view control it is taking 2 minutes. How can i reduce the time?

other wise is there any way to add nodes collection to tree view control dynamically?


Fathima Shalini P [Syncfusion]
Replied On February 12, 2009 01:54 AM

Hi Sandiliya,

Thank you for your interest in Syncfusion Products.

While adding more than one node to the TreeViewAdv control, calling the BeginUpdate and EndUpdate method will improve performance of the control. And also setting SuspendExpandRecalculate property to true will also improve the performance of the TreeViewAdv. Please refer to the below online tutorial that illustrates this:

http://help.syncfusion.com/ug_71/toolswin/TreeViewPerformance.html

Please let me know if any concerns.

Regards,
Fathima


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.

;