This works great, also for different UserControls and Forms. But now I want to create some hierarchy within the theme.

Examples:
The RadLabel. For most of the time I can use the defined style in the ApplicationTheme. But I also need for a specific number of labels some header styles (like a <H1> or <H2>, somewhat bigger and Bold).
The RadButton. Most of the time the buttons are blue, but some buttons must be red.

How can I achieve this? I can't really find an option in the VisualStyleBuilder. And I played with the <RadStylesheetRelation> section in the XML file combined with the ThemeName and ThemeClassName in the VS designer, but no results so far. Can I implement Theming on a CSS way? Is there any HowTo or Tutorial available?

Thank you,

Maarten

Mike

Customize the specific RadControls instances' visual properties in the designer, using the UI Element editor option, or set the visual property values programmatically in the code of your app. This would be appropriate for scenarios when there are very few instances - buttons for example - to be customized.

Use ThemeClassName to change the default theming for a specific control. You have to assign the same ThemeClassName string value to both <RadStylesheetRelation> object and corresponding RadControl. The problem here is that currently radcontrols will not refresh the theme is ThemeClassName changes. Therefore the best approach would be to set these properties in the code behind in the correct order - first ThemeClassName then ThemeName.

Apply a StyleSheet to a RadControl programmatically.

I am sorry but no extra documentation is available at the moment for any of the features I'm referencing. That's why I'll try to give you details and prepare a sample
describing each approach in the beginning of the next week. Let me know if this will work for you.

All the best,
Mike
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.