ContentType Bug

4 posts, 0 answers
  1. nickWorld
    nickWorld avatar
    22 posts
    Member since:
    Jun 2007

    Posted 19 Sep 2007 Link to this post

    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,
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 19 Sep 2007 Link to this post

    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
  3. nickWorld
    nickWorld avatar
    22 posts
    Member since:
    Jun 2007

    Posted 20 Sep 2007 Link to this post

    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.


  4. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 24 Sep 2007 Link to this post

    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
Back to Top