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

RadStyleSheetManager and customskins

1 Answer 72 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Stephan
Top achievements
Rank 1
Stephan asked on 13 Nov 2008, 08:59 AM
Hi, I'm reading about the RadStyleSheetManage (RSM) and how it can combine customskins. For this, I need to create a separate project (class file) and embed this as a resource. I'm just wondering how this applies to the App_Theme folder which is usually used to create custom skins. We have a custom skin for the Office2007 skin which is in the App_Theme folder. This works fine, but to enable the RSM to use this theme as an embedded resource, I should also create a seperate class project, right? In other words, the Skins defined in the App_Theme folder can not be used as embedded resources?

If so, how would I handle this during design time. Should I use the App_Theme folder to create custom skins and than before deployment add them to this custom class to embed these themes? Or should I use the special class-project from the beginning (not using the app_theme folder at all) and just set the EnableStyleSheetCombine to false for debugging purpose?

Any advice what would be the best/normal appoach for this.

1 Answer, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 14 Nov 2008, 09:55 AM
Hi Stephan,

You could use both the approaches indeed. I would personally prefer the first one - embedding the stylesheets when building the assembly, as it is better for automating (you would not have to edit the ASPX/ASCX file to remove the <link /> registrations)...

Kind regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
Stephan
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Share this question
or