Home - Forums-.NET - FlyTreeView (ASP.NET) - Changing Node Icon Images

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

Changing Node Icon Images
Link Posted: 09-May-2006 04:55
When I set a node to have an icon
and I set its Node.ImageUrl to a value like ../images/nodeicon.gif

I would expect it to go down a folder from where I am and back up in to images and display the \"nodeicon.gif\" if there is one there.

I have made sure that the images are there but I cant find the path where the tree is looking for the icons.

I've also noticed that the default node goes to
ImageUrl=\"winxp/default.gif\"

and in the TreeControl there is

IconSetPath=\"winxp/\"

Where is the root folder for the icons ?
Link Posted: 09-May-2006 09:04
The root folder for the icons is in FlyTreeView client runtime folder.
Typically it is located at /aspnet_client/ninerays.../images folder.

All iconsets (that all images except node ImageUrl) are used from /aspnet_client/ninerays.../iconsets.
Link Posted: 09-May-2006 21:43
is there any way to change it ?
Link Posted: 09-May-2006 23:09
You may change the whole Client Runtime Path.
There's appropriate ClientRutimePath property of FlyTreeView.
You may also use absolute paths beginning with /.