Issue creating child nodes in .net |
Post Reply |
Author | |
apoc68
Newbie Joined: 04 July 2008 Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 04 July 2008 at 2:08pm |
I am using the xtremesuite pro ver 12 and am having difficulty using the treeview control in a .net winform. I don't see any treeview samples for vb.net anywhere in the samples directory.
The problem I am having is creating children nodes in the treeview. I have tried many different methods and I can only get the nodes to appear in the root level as opposed to the child level. I have tried this Dim o As New XtremeSuiteControls.TreeViewRelationship o = TreeViewRelationship.xtpTreeViewChild oTreeView.Nodes.Add(oNode, o, , "__DummyNode__") I have tried oTreeView.Nodes.Add(oNode, TreeViewRelationship.xtpTreeViewChild, , "__DummyNode__") and also many other ways. If someone could help me out possibly with a vb.net sample code app that uses a treeview it would be greatly appreciated. |
|
Baldur
Senior Member Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
Post Options
Thanks(0)
|
If you want to add childs, you must give the index-property for the relationship:
oTreeView.Nodes.Add(oNode.Index, TreeViewRelationship.xtpTreeViewChild, , "__DummyNode__")
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |