Hi:
Im Tring To Set Up a Treeview Control on an ASP , using JavaScript , Like
This
Var ObjTree = Document.all("Treeview1")
Var Nodes = Document.all("Treeview1").Nodes
It Work Fine !!!
But I Need to Set Up Images to the nodes..
I Cannot Link The IMageCOntrol with The Treeview Control
Does Any Body has Any Idea How can I Do This ...?
Thank You VEry Much For Your Help.
Dave Cook - 26 Nov 2003 18:10 GMT
Initialise your imagelist component and assign to the treeview using:
ObjTree.ImageList = ImageList1
But the issue you will have is assigning images to the imagelist. As far as
i know you need to use the 'LoadPicture' method
which only accepts local filepaths, therefore unless you have the images
stored on every client your stuffed.
I spent 2 days trying to get a treeview with images working in a browser but
only ever got it to work locally due to the above restrictions.
If there is a way of doing it please let me know.
> Hi:
> Im Tring To Set Up a Treeview Control on an ASP , using JavaScript , Like
[quoted text clipped - 11 lines]
>
> Thank You VEry Much For Your Help.