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

ContentType Bug

3 Answers 58 Views
Dock
This is a migrated thread and some comments may be shown as answers.
nickWorld
Top achievements
Rank 1
nickWorld asked on 19 Sep 2007, 11:08 AM
Hi,

When in Promethus, using any Skin in "EnableEmbeddedSkin" mode, the contentType of CSS is "text/javascript">

This when used in conjunction with Compression in Firefox, firefox doesn't load the css.

Safari and IE works perfectly though.
Regards,

3 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 19 Sep 2007, 02:31 PM
Hi nickWorld,

Attached are two screenshots from Firebug, which show the content type and the content of one of the CSS files of RadDock. They seem correct, am I missing something?

Sincerely yours,
Valeri Hristov (Senior Developer, MCSD)
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
nickWorld
Top achievements
Rank 1
answered on 20 Sep 2007, 06:56 AM
Hi Valery,

Thanks for getting back to me Quickly.

This behaviour happens when Implementing httpCompression over WebResource.axds . I checked in HttpWatch using IE as well, with WebResource.axd, the contentType returns "text/javascript".

I am just asking if there is no telerik bug while adding doing WebResource(), and can you just quickly verify from your source-code ? If your side is fine, it has to be in my HttpCompression module.


0
Valeri Hristov
Telerik team
answered on 24 Sep 2007, 01:03 PM
Hi nickWorld,

If you are using the following module
http://www.devwebpro.com/devwebpro-39-20070921ASPNETHTTPCompressionofWebResourceaxdPages.html

probably you should read the following article
http://pohee.com/it/http-compression-in-aspnet-20/

which describes some problems with the above module. I checked ALL web resource attributes for CSS files and found no discrepancies. You could check it by opening Telerik.Web.UI.dll with Reflector and browsing the root assembly folder.

All the best,
Valeri Hristov (Senior Developer, MCSD)
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
nickWorld
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
nickWorld
Top achievements
Rank 1
Share this question
or