I am having a problem attaching images to a treeview in ASP.
I initialize a treeview in the window_onload event. I have included an imagelist but that does not work. it gives me a "imagelist must be initialized before use" message. I have tried to set the image properties at design time and at run-time. Neither way seems to work. If I try and set them at run-time, i get an error about the string(path) being invalid in the LoadPicture call in the Add method of the imagelist. I know the path is valid.
I am offering 500 points for this and would like the code that will do it. I don't want a link to a sample or anything.
Thank-you in advance.