Different skin for different control

2 posts, 1 answers
  1. Guorui
    Guorui avatar
    1 posts
    Member since:
    Sep 2013

    Posted 15 Nov 2013 Link to this post

    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
  2. Answer
    Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 19 Nov 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top