StyleSheet Combining

2 posts, 0 answers
  1. msigman
    msigman avatar
    141 posts
    Member since:
    Apr 2008

    Posted 04 Apr 2011 Link to this post

    I was very pleased to see that stylesheet combining was added for Q1 2011!  I did something like this and it worked as expected. 

    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
            <telerik:StyleSheetReference Path="~/Styles/Common.css"  />

    My question is, can someone tell me how it works behind the scenes?  Specifically I'm wondering if the file combination is done at every page request, or is done once and then cached somewhere? 

    Also, what is IsCommonCss for?
  2. Simon
    Simon avatar
    2281 posts

    Posted 08 Apr 2011 Link to this post

    Hello msigman,

    Combining happens each time the WebResource containing all registered style sheets is requested from a page. If your browser caching is enabled the request will be cached and not requested from the same page again.

    The IsCommonCss property is used when constructing the path to embedded common style sheets. It has no relevance to external style sheets.

    I hope I have answered your questions. Please let me know if you need more information or you have additional questions.

    All the best,
    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. Telerik UI for ASP.NET Core is out
Back to Top