RadStyleSheetManager not working in Firefox or Chrome

2 posts, 0 answers
  1. Mark Sanger
    Mark Sanger avatar
    2 posts
    Member since:
    Sep 2009

    Posted 18 Sep 2009 Link to this post

    Any ideas? Works great in IE8. (.JS files are working w/ ScriptManager too)

     

    <

     

    rad:RadStyleSheetManager id="StyleSheetManager" runat="server" >

     

    <StyleSheets>

     

        <rad:StyleSheetReference Name="Foo.css" Assembly="Bar" />

     

     

    </StyleSheets>

     

    </rad:RadStyleSheetManager>

    then:

    [

    assembly: WebResource("Foo.css", "text/javascript")]

    Thanks!@

     

     

     

     

  2. Mark Sanger
    Mark Sanger avatar
    2 posts
    Member since:
    Sep 2009

    Posted 18 Sep 2009 Link to this post

    Figured it out:

    assembly: WebResource("Foo.css", "text/css")] <- had the wrong content type, javascript

    And thats why you shouldn't copy and paste late on fridays folks! Strange that it worked in IE8 though!

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top