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

Different skin for different control

1 Answer 53 Views
SkinManager
This is a migrated thread and some comments may be shown as answers.
Guorui
Top achievements
Rank 1
Guorui asked on 15 Nov 2013, 08:20 AM
Hi
 I have a skin manager in the master page.
How do  I set different skin for different control type?
for example, setting all RadButton and RadComboBox to WebBlue and all RadGrid to default?

Thanks for help!

Guorui

1 Answer, 1 is accepted

Sort by
0
Accepted
Maria Ilieva
Telerik team
answered on 19 Nov 2013, 01:08 PM
Hi,

The RadSkinManager provides TargetControls collection where you can set different skins to different types of controls.

For example:

<telerik:RadSkinManager ID="skinManager1" runat="server" ShowChooser="true">
        <TargetControls>
            <telerik:TargetControl ControlsToApplySkin="RadGrid" Skin="Default" />
            <telerik:TargetControl ControlsToApplySkin="RadButton" Skin="WebBlue" />
        </TargetControls>
    </telerik:RadSkinManager>

I hope this helps.

Regards,
Maria Ilieva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
SkinManager
Asked by
Guorui
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or