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

Stylesheet from embedded resource doesn't work in ie9

2 Answers 39 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Emiel
Top achievements
Rank 1
Emiel asked on 31 Jan 2012, 02:55 PM
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 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 03 Feb 2012, 07:56 PM
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 >>
0
Emiel
Top achievements
Rank 1
answered on 06 Feb 2012, 10:26 AM
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
Tags
ScriptManager and StyleSheetManager
Asked by
Emiel
Top achievements
Rank 1
Answers by
Simon
Telerik team
Emiel
Top achievements
Rank 1
Share this question
or