More in this section

Forums / General Discussions / Remove skins and styles from front end

Remove skins and styles from front end

4 posts, 0 answered
  1. Brian Crosby
    Brian Crosby avatar
    29 posts
    Registered:
    02 Jan 2006
    15 Jun 2011
    Link to this post

    Is there a way to remove all skins and stylesheets from the front end? I want the same result that the below web.config settings produce but only for the front end, not the backend. 

        <add key="Telerik.EnableEmbeddedSkins" value="false"/>

        <add key="Telerik.EnableEmbeddedBaseStylesheet" value="false"/>

        <add key="Telerik.EnableEmbeddedScripts" value="false"/>


    Cheers,

    Brian

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    15 Jun 2011
    Link to this post
    Hello Brian ,

    The web.config makes global changes and you cannot separate frontend and backend. Disabling embedded resources will break all Sitefintiy's controls which wrap RadControls. You can disable embedded resources for particular control that you use on your templates or pages.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. David
    David avatar
    16 posts
    Registered:
    23 Sep 2010
    17 Jun 2011
    Link to this post
    Hi there,

    I was hoping that you can elaborate on how to disabled the embedded skins on a particular control. I am trying to disable the styles and skins for the RadTabStrip that is used for the navigation in one of my templates.

    Any ideas?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    20 Jun 2011
    Link to this post
    Hi,

    If you use NavigationControl you can set Wrapper Css Class to the name of your custom skin. Another option is creating a user or custom control that expose a property of type RadTabStrip which should expose all public properties of the RadTabStip or exposing the EnableEmbeddedSkins  as a public property directly in your class.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered