cadwalli
Active member
Hi
Is anyone able to help please?
I have a treeview class which loads all my treeview data. However, the only way I can get to display the treeview once ive built it in the class to to copy all the nodes into the treeview on the form already.
For example, the form has treeview1 on it, its empty because nothings been loaded yet. My code build the treeview from data in the DB and then returns that data formatted as type "treeview".
But as the treeview i want to update is already on the screen i have to use the "clone" method and rebuild teh treeview nodes from the ones returned in the code.
Is there not a simpler way to do this - i.e. treeview1 = treeview2?
Hope that makes sense.
Ian
Is anyone able to help please?
I have a treeview class which loads all my treeview data. However, the only way I can get to display the treeview once ive built it in the class to to copy all the nodes into the treeview on the form already.
For example, the form has treeview1 on it, its empty because nothings been loaded yet. My code build the treeview from data in the DB and then returns that data formatted as type "treeview".
But as the treeview i want to update is already on the screen i have to use the "clone" method and rebuild teh treeview nodes from the ones returned in the code.
Is there not a simpler way to do this - i.e. treeview1 = treeview2?
Hope that makes sense.
Ian