Relative path problem for custom skin

2 posts, 0 answers
  1. solutionfactory
    solutionfactory avatar
    45 posts
    Member since:
    Apr 2007

    Posted 30 May 2008 Link to this post

    Hi All,
    we are involved in a porting from RadControl for 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 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 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.

  2. Helen
    Helen avatar
    1052 posts

    Posted 02 Jun 2008 Link to this post


    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.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft R3 2016 release webinar banner
Back to Top