Hi!
I need to use a treeview in order to show the all stucture of a program: all the componentes, their methods, properties, arguments,... .
I have two major problems:
First, I'm loading the treeview node by node. Is there any way of loading it without having to write a xml file to disk? Can I send the xml info directly to the treeview with out creating a file?
Second, I have thousands of nodes, each with thousands of child nodes, some of them with child node that represents the parent node, I need to load them on the expand event, and delete them on the colapse event. My problem is : how can I save both the ID and the Description of a node, so I can connect them to the DB (to load the child nodes)? Some of the nodes have the same Description, and as some of the child nodes represent the same object, they have the same ID. In vb applications, I could use the tag property. What can I do here? NetAngel
I need to use a treeview in order to show the all stucture of a program: all the componentes, their methods, properties, arguments,... .
I have two major problems:
First, I'm loading the treeview node by node. Is there any way of loading it without having to write a xml file to disk? Can I send the xml info directly to the treeview with out creating a file?
Second, I have thousands of nodes, each with thousands of child nodes, some of them with child node that represents the parent node, I need to load them on the expand event, and delete them on the colapse event. My problem is : how can I save both the ID and the Description of a node, so I can connect them to the DB (to load the child nodes)? Some of the nodes have the same Description, and as some of the child nodes represent the same object, they have the same ID. In vb applications, I could use the tag property. What can I do here? NetAngel