Stylesheet from embedded resource doesn't work in ie9

3 posts, 0 answers
  1. Emiel
    Emiel avatar
    2 posts
    Member since:
    Jan 2012

    Posted 31 Jan 2012 Link to this post

    Hi,

    I'm using a RadStyleSheetManager on a form and make it add a css file from an embedded resource by calling:
    myRSSM.StyleSheets.Add(new StyleSheetReference("stylesheet.css", "My.Lib"));
    However, no matter what the contents of the css file, it works in Chrome and IE8, but not in IE9. IE9 just doesn't seem to load the file. Could I be doing something wrong?

    Thanks,
    Emiel
  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 03 Feb 2012 Link to this post

    Hello Emiel,

    Inconsistent loading of style sheets among different browsers is not a functionality of RadStyleSheetManager. It is also very unlikely (yet possible) to be a bug.

    Could you log the traffic of the page with FiddlerCap and post here a link go the logs?

    Greetings,
    Simon
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Emiel
    Emiel avatar
    2 posts
    Member since:
    Jan 2012

    Posted 06 Feb 2012 Link to this post

    Hi Simon,

    Thanks for your reply. I'm sorry, it seems I had forgotten to put a reference to the embedded stylesheet in the AssemblyInfo.cs file. Apparently that only causes a problem for IE9. Anyway, thanks for your trouble!

    Greetings,
    Emiel
Back to Top