1
Vote

Bad issue in IE9

description

The control loads totally scrambled in IE9 beta, IE9 standards: the F12 debugger shows 4 times the warning: "SEC7113: CSS was ignored due to mime type mismatch". In fact, the CSS page in the debugger is empty.
In IE8 standards my page renders well, then I created 4 CSS files from the CSS page of F12 debugger. I included them in my web site, then I manually added the HREFs in my page <head>. Back to IE9 standards, now the 4 warnings are still raised but the page is rendered well.
Hope this helps to fix the issue.

comments

Julian1986 wrote May 23, 2011 at 6:20 PM

In the AssemblyInfo.cs look out for these lines:
[assembly: WebResource("NotesFor.css.gallery.css", "text-css", PerformSubstitution = true)]
[assembly: WebResource("NotesFor.css.nf.lightbox.css", "text-css", PerformSubstitution = true)]
[assembly: WebResource("NotesFor.css.album.css", "text-css")]

and change them to:
[assembly: WebResource("NotesFor.css.gallery.css", "text/css", PerformSubstitution = true)]
[assembly: WebResource("NotesFor.css.nf.lightbox.css", "text/css", PerformSubstitution = true)]
[assembly: WebResource("NotesFor.css.album.css", "text/css")]

That fixed the IE9 issues for me.

wrote Feb 14, 2013 at 2:35 AM