Try Now
More in this section

Forums / Designing with Sitefinity / RadTree CSS for News Archive

RadTree CSS for News Archive

2 posts, 0 answered
  1. Scott Rozman
    Scott Rozman avatar
    93 posts
    10 Oct 2012
    14 Jun 2010
    Link to this post
    I'm using a Sitefinity SiteTree (RadTree) in one part of my site for navigation and had to disable the embedded styles and use a modified copy of the the RadTree CSS in my theme. I am now using the News Archive which has the same RadTree and would like to use the same styles I've used for the SiteTree.
    Is there a way to disable the embedded styles on the RadTree used in the News Archive control?

    I've tried adding EnableEmbeddedBaseStylesheet="false" to the ArchiveTemplate.ascx and set my LayoutTemplatePath to ~/Sitefinity/ControlTemplates/News/ArchiveTemplate.ascx, but that doesn't seem to work and I don't see a way to change EnableEmbeddedBaseStylesheet from within Sitefinity.

    Thanks in advance!
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    15 Jun 2010
    Link to this post
    Hi Scott Rozman,

    Thank you for contacting Telerik Support.

    Please do not disable the embedded style sheet unless you are going it to load it from an external location. Disabling this property will pretty much break the control if you do not provide an external base style sheet. If you create a .skin file in your site theme folder and use something like this:
    <%@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" %>

    The tree view in the archive control will use the WebBlue embedded skin. Skinning this tree view is exactly the same procedure as the one described here: Controling appearance of RadControls for ASP.NET AJAX in Sitefinity.

    Sincerely yours,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered