Remove skins and styles from front end
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
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
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?
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