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

[Solved] Sharing custom skin across multiple projects/applications

1 Answer 90 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Max
Top achievements
Rank 2
Max asked on 08 Apr 2009, 02:52 PM
Does anyone have any guidance for sharing skins across multiple projects/applications without having multiple copies under each?  We have achieved this with RadSpell with the DictionaryPath property, but cannot find the way for skins.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 08 Apr 2009, 03:02 PM
Hello Max,

There is no problem to register CSS files, which are hosted on another domain, for example:

ASPX

<head>
     <link rel="stylesheet" type="text/css" href="http://myskindomain/mypath/Grid.SkinName.css" />
     <link rel="stylesheet" type="text/css" href="http://myskindomain/mypath/Menu.SkinName.css" />
</head>

You can include the above in a user control or a masterpage, so that it is used by all pages in the given website.

Another option is to import CSS files from a CSS file, which has already been registered on a web page:

CSS

@import url("http://myskindomain/mypath/Grid.SkinName.css");
@import url("http://myskindomain/mypath/Menu.SkinName.css");


Greetings,
Dimo
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Max
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Share this question
or