StyleSheetReference connection, IE8 and higher

2 posts, 0 answers
  1. Luba
    Luba avatar
    1 posts
    Member since:
    Sep 2014

    Posted 11 Sep 2014 Link to this post


    thus loading CSS file in master page:

    <inf:StyleSheetManager runat="server" ID="ssm1" CdnSettings-TelerikCdn="Disabled">
            <StyleSheets >
                <inf:StyleSheetReference Assembly="Data.Web" Name="Data.Web.Content.Styles.Style.css" />

        <add key="Telerik.Skin" value="newSkin"/>
        <add key="Telerik.EnableEmbeddedSkins" value="false" />

    Firefox and Chrome are my everything behaves well. Functional styling.
    bug occurs in IE, the page behaves as if no style retrieved.
    bug is all version IE.
    I need to work in IE 8 or higher, please advice. 
  2. Ivan Zhekov
    Ivan Zhekov avatar
    649 posts

    Posted 16 Sep 2014 Link to this post


    There is a known limitation in IE browsers and you can read more about it in this blog post --

    In short, you can't have more than 31 stylesheets per page, or IE will not load the 32nd and following styles. This behaviour was fixed in IE10 or IE11.

    That can be easily overcome by using RadStyleSheetManager and enable stylesheet combining. Note: this can not be used in conjunction with CDN.

    You could do a hybrid approach however: on page request (or session start) you can check if the browser is IE. If so, switch to using combined scripts, else use CDN.

    Ivan Zhekov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top