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. Image for the cookie policy date

TreeviewAdv adding

Hi, I have added the following code which adds a node to the treeview. Dim TN As New Syncfusion.Windows.Forms.Tools.TreeNodeAdv TreeViewAdv1.Nodes.Add(TN) 1) how would I add a child node? 2) How do I set up all the nodes key, tag, image etc? Thanks Ben

2 Replies

AD Administrator Syncfusion Team May 9, 2005 03:30 PM

Hi, I have managed to Add nodes and childs with diffrent tags etc. When I call this I only get the count of the parent nodes how can I just count the children nodes? Thanks Ben


AD Administrator Syncfusion Team May 10, 2005 11:40 AM

Hi Ben, I''ve attached a sample that demonstrates using recursion to traverse the tree and count the number of nodes. Please let me know if you have any questions regarding it, or if I have misunderstood your question. Regards, Gregory Austin Syncfusion Inc.

Loader.
Live Chat Icon For mobile
Up arrow icon