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

Combineing the css

1 Answer 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Srinivas
Top achievements
Rank 1
Srinivas asked on 06 May 2013, 05:50 AM
HI

i have enabled  CdnSettings-TelerikCdn="Enabled"

<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" CdnSettings-TelerikCdn="Enabled" />

i get the follwoing css files loaded on the page . I want the following css to be combined to singel file  and load on the page . I have even enabled EnableStyleSheetCombine="true"  but that dint combine the css


<link href="http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1203/Menu.css" type="text/css"

    rel="stylesheet" class="Telerik_stylesheet" />

<link href="http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1203/Outlook/Menu.Outlook.css"

    type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

<link href="http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1203/TabStrip.css"

    type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

<link href="http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1203/Default/TabStrip.Default.css"

    type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

<link href="http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1203/ListBox.css"

    type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

<link href="http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1203/Hay/ListBox.Hay.css"

    type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

we have even other css to load on the page . it would be helpful if we can combine  aspnet-skins.telerikstatic.com CSS in single file. please help me in resolveing the issue

1 Answer, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 08 May 2013, 07:28 AM
Hi, Sirnivas.

Currently CDN + Styles combine is not possible. Let me explain:

The way local combine works is to first find all referenced stylesheets (which may vary on per page basis) and create a virtual combined file on the fly. Each unique combination has a unique virtual file.

Аpplying this to the CDN, it will be virtually impossible to have all possible combinations prepared and uploaded on the CDN. Not to mention that some of those combinations will be gigantic in size.

At the same time it will make a good feature to have a sort of "bundles" e.g. you are using the Default skin and you get the entire default skin in one neat file.

I have logged the feature in our Feedback Portal -- http://feedback.telerik.com/Project/108/Feedback/Details/47874-add-bundling-support-for-stylesheetmanager -- for you and other customers to vote for and comment on.

Regards,
Ivan Zhekov
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
General Discussions
Asked by
Srinivas
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Share this question
or