Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Browsers / Internet Explorer / November 2003



Tip: Looking for answers? Try searching our database.

Treeview and IMageList on DHTML

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
javila - 05 Nov 2003 16:09 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.