This is a migrated thread and some comments may be shown as answers.

[Solved] ImagesBaseDir?

6 Answers 145 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jacky Chau
Top achievements
Rank 1
Jacky Chau asked on 02 Jan 2008, 10:23 PM
What happened to ImagesBaseDir?  The documentation still references it but it doesn't seem to be part of RadTreeView anymore.



When using the ImageUrl or ImageExpandedUrl properties to render images next to the TreeNodes' text, you should keep into account that the ImageUrl and ImageExpandedUrl properties are relevant to the ImagesBaseDir. In other words, the value set to the ImagesbaseDir property will be pre-pended to the value set to the ImageUrl property.  

6 Answers, 1 is accepted

Sort by
0
Thomas McCotter
Top achievements
Rank 1
answered on 03 Jan 2008, 01:35 AM
I'm having a similar issue.  Seems that ImagesBaseDir is relative to RadControlsDir as well.  I'm trying to expliticly provide the path for node image in a tree control and I can't seem to get it to fly.

Any ideas?
0
Nikolay
Telerik team
answered on 03 Jan 2008, 08:35 AM
Hi Thomas McCotter,

The ImagesBaseDir property has been removed as described at:
http://www.telerik.com/help/radcontrols/prometheus/tree_RadTreeViewClass.html

You should use absolute paths to the images. I attached a small and running project showing the needed approach. Please download the files and give them a go.

There might be some obsolete information in the help files and we apologize for that. We are still working on polishing the doc files.

Having other questions, please feel free to ask us.

Sincerely yours,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Sjur
Top achievements
Rank 1
answered on 26 Jun 2008, 01:43 PM
Nick,

The url you link to is not valid anymore, and I cannot seem to find anything about this in my local help file. Could you please provide a working link concerning this issue?

Regards,
Sjur
0
Atanas Korchev
Telerik team
answered on 26 Jun 2008, 01:57 PM
Hello Sjur,

You can find this help topic here.

Best wishes,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Sjur
Top achievements
Rank 1
answered on 26 Jun 2008, 02:10 PM
Thanks for pointing that out. However, I was actually looking for the "radControlsDir"-property which also seems to have been removed and I cannot find any info about this. Can you please fill me in (I am currently using v6.3.2.0 and trying to upgrade to 2008.1.416.20 of RC for Ajax.

Regards,
Sjur
0
Atanas Korchev
Telerik team
answered on 26 Jun 2008, 02:18 PM
Hi Sjur,

RadControlsDir is no longer required. RadTreeView JavaScript files and built-in skins are embedded in the assembly as web resources.

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Jacky Chau
Top achievements
Rank 1
Answers by
Thomas McCotter
Top achievements
Rank 1
Nikolay
Telerik team
Sjur
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or