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

Add new Controls to Existing Skin

3 Answers 61 Views
Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
License
Top achievements
Rank 1
License asked on 03 Nov 2011, 08:11 PM
I have created and saved a skin using the Visual Style Builder and now want to add controls and style them. Is there a way to import and select new controls?

3 Answers, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 04 Nov 2011, 09:00 AM
Hello Robert,

Once you have your custom skin built with Visual style builder downloaded on your machine, you will a foldet with the skin name chosen by you, that contains another folder/folders named with the name of the controls - Button, FormDecorator, Editor etc. The will be also the necessary CSS files related with the styling of these controls:

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <link href="MyCustomSkin/Button.MyCustomSkin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="sm1" runat="server" />
    <telerik:RadButton runat="server" ID="rb1" Text="Button" Skin="MyCustomSkin" EnableEmbeddedSkins="false"></telerik:RadButton>
         
    </form>
</body>
</html>

If you want to load the skin form an external assembly, you could find useful the following help resource: How to load skins from external assemblies.

Best wishes,
Bozhidar
the Telerik team
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 their blog feed now
0
License
Top achievements
Rank 1
answered on 04 Nov 2011, 02:37 PM
I don't think this answer addresses what I am trying to do, unfortunately. I have done styling using the Visual Style Builder and exported to my machine. I can then import back into Visual Style Builder to modify the controls (grid, slider, calendar) I have already styled but I want to add the tabstrip so I can style it and add it to the same skin using Visual Style Builder.
0
Bozhidar
Telerik team
answered on 04 Nov 2011, 02:58 PM
Hi Robert,

Excuse me for the misunderstanding. No, you can not add additional controls as you want to do. The best way is to try to create a new skin for the controls you like to m customize and to apply the same color schemes you have applied already to the grid, slider and calendar.

The new controls skinning will have the same name as the name used for the other controls and once you have done, you will combine them into a common folder. If your skin is named - mySkin - now you have a folder called mySkin and inside it there are CSS files door grid, slider and calendar, and filder containing the necessary images for these controls. You could add in mySkin folder controls that were created later, but should keep the same skin name convention.

Best wishes,
Bozhidar
the Telerik team
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 their blog feed now
Tags
Visual Style Builder
Asked by
License
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
License
Top achievements
Rank 1
Share this question
or