More in this section

Minimize css

4 posts, 0 answered
  1. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    23 Jul 2010
    Link to this post
    Hi all,

    I thought it was possible to use the RadStyleSheetManager to minimize and combine .css files. Is that true?
    I use it like this, but I'm afraid that it isn't the correct way?

    <telerik:RadStyleSheetManager ID=styleManager runat=server>
       <StyleSheets>
          <telerik:StyleSheetReference IsCommonCss=true Name="site" Path="~/Assets/css/site.css" />
       </StyleSheets>
    </telerik:RadStyleSheetManager>

    Anyone who has done mimimizing .css and .js files in Sitefinity?

    Regards,
    Daniel
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    23 Jul 2010
    Link to this post
    Hi Daniel,

    You can take a look at Using RadStyleSheetManager where you will find a sample as well.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    23 Jul 2010
    Link to this post
    Hi Ivan,

    I did, but does that mean I have to create a seperate project for this, embedding all .css files and images?

    Daniel
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    23 Jul 2010
    Link to this post
    Hello Daniel,

    The RadStyleSheetManager is used to minify and combine resources of the RadControls (or custom skins for them). If you want to minify your own style sheets you have to perform what is described in the link referenced by Ivan.

    Greetings,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
4 posts, 0 answered