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

Custom images + Custom skin + Asp.Net Theme

1 Answer 81 Views
Grid
This is a migrated thread and some comments may be shown as answers.
solutionfactory
Top achievements
Rank 1
solutionfactory asked on 09 Jun 2008, 08:51 AM
Hi all,
what is the proper way to handle custom images using a custom skin and  asp.net themes?
Some images replace the original, others are in addition.

I would like to have all the skin images into skin folder.

Thanks in advance,
Flavio

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 09 Jun 2008, 11:59 AM
Hi Flavio,

In your scenario, I recommend using the following approach:

[web application root]
  \App_Themes
    \theme1
      theme1.skin (optional)
      theme1.css (optional)
        \RadGrid
          MySkin.css
          image1.gif
          image2.gif
          ........

In other words, you will have RadGrid's skin CSS file, skin images and button images all in one single folder inside your theme's folder. Then for RadGrid you will have to set:

<telerik:RadGrid
     Skin="MySkin"
     EnableEmbeddedSkins="False"
     ImagesPath="~/App_Themes/theme1/RadGrid/"
/>

You can set these either in your ASPX or in your theme .skin file.

Custom skin CSS files for RadControls for ASP.NET AJAX have to be registered manually on the page, but this is not the case when using ASP.NET themes, so if you implement all of the above, you should be done.


Let us know if you need further advice.


Regards,
Dimo
the Telerik team

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