An order of external style sheet files

2 posts, 0 answers
  1. Mikiya Sato
    Mikiya Sato avatar
    19 posts
    Member since:
    Oct 2007

    Posted 15 Dec 2011 Link to this post


    About generated combined style sheet file. 
    I expected that my custom styles will be load after a telerik built in styles. but there is it first. 
    How do I load it after build in styles?

    telerik:RadStyleSheetManager runat="server" ID="RadStyleMn" >
        <CdnSettings TelerikCdn="Disabled" />
            <telerik:StyleSheetReference Path="~/Skins/CustomRadTreeVew.Web20.css"  />

  2. Simon
    Simon avatar
    2281 posts

    Posted 19 Dec 2011 Link to this post

    Hi Mikiya Sato,

    There is no option to tell where to output style sheets added in the markup in relation to built-in style sheets. Since they are in the markup they are the first style sheet references, which exist in the style sheet collection; RadControls' and any other embedded style sheets are added at a later stage and so they appear after the ones in the markup.

    Currently, you can explicitly add the style sheets of a control before the one in the markup. Of course, if you have lots of controls this will be a tedious operation, however it is the only way.

    I hope this helps.

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. DevCraft R3 2016 release webinar banner
Back to Top