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

Relative path problem for custom skin

1 Answer 103 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
solutionfactory
Top achievements
Rank 1
solutionfactory asked on 30 May 2008, 02:27 PM
Hi All,
we are involved in a porting from RadControl for asp.net to Promethus version and we have several custom skin to reuse. I understand than new version of RadControl has skin embedded, so we move skin folders from RadControls dir to /App_Themes/MyTheme folder, then I set  EnableEmbeddedSkins="False" in order skip using embedded skin and take advantage of asp.net themes to include css file automatically.
Now the problem is related to images folder used in custom skin; infact a RadGrid that need to use image for paging (paginprev.gif) try to refer it relative to asp.net page or if this is inside a usercontrol, to folder in which is defined.
eg: for a grid contained into /admin/default.aspx, try to pickup image from /admin/grid/pagingprev.gif, for a usercontrol located in /WebControls/mygrid.ascx from /WebControls/grid/pagingprev.gif.
So is there a way to set start path from skin relative to Themes folder?

Thank You in advance.

Flavio

1 Answer, 1 is accepted

Sort by
0
Helen
Telerik team
answered on 02 Jun 2008, 04:06 PM
Hello,

Please find attached a project how to use custom skins and themes. Only copy the Telerik.Web.UI dll to start it.
Hope it will help you achieve your task.

Regards,
Helen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
solutionfactory
Top achievements
Rank 1
Answers by
Helen
Telerik team
Share this question
or