|
-
November 29th, 1999, 12:55 AM
#1
ImageList doesn't work in ASP
ImageList Control doesn't work in ASP.
I built a program including treeview control with images.
ImageList control contains images. But It doesn't work.
It made some errors like "ImageList must be initialized before it's used".
It means ImageList has no images and when I see ASP it lose images.
But I am sure I insert images in imagelist in design time and I set treeview's property,that is imagelist,imagelist object variable in a code.
Some tricky. Sentense as follows goes well. It's for runtime.
ImageList1.ListImages.Add 1,"image1",
LoadPicture ("C:\InetPub\wwwroot\kowacoP\images\010.ICO")
it's not good. Path in loadpicture function is not on server but in client side.
So,It work when my computer is server and client.
Please help me.
Why does ImageList lose images inserted in itself?
Anything else method using images in treeview control?
Thanks for your reading?
-
November 29th, 1999, 02:16 AM
#2
Re: ImageList doesn't work in ASP
Is it related to Common COntrols initalisation?
Check if you can include InitCommonControls api call? By the way, are API calls safe in ASP?, i dont know?!
RK
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|