This is a migrated thread and some comments may be shown as answers.

How to override global setting in web.config 'EnableEmbeddedSkins=false' on certain pages?

4 Answers 565 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Reini
Top achievements
Rank 2
Reini asked on 15 Apr 2011, 04:06 PM
Hi,

I have a site that uses custom skins and also custom base style sheets for (almost) all controls (menu, combobox, grid...) so I added these two settings to the web.config:

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

this works perfectly fine... but....

now I created an additional page within the main website that uses many controls (scheduler, combobox, grid...) that should use skins & base style sheets.

so my question:
is there a possibility to override the globally set values (from the web.config) for the whole .aspx page?
so that all controls on that page will use embedded skins & base style sheets?
(btw. I cannot use a separate web.config as the whole project is one application in a cms without physical folders...)

thank you very much!

4 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 20 Apr 2011, 03:02 PM
Hello Reini,

You need to explicitly set EnableEmbeddedSkins and EnableEmbeddedBaseStylesheet to true, for every control on that page, that you want to use the embedded skins.


All the best,
Georgi Tunev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Reini
Top achievements
Rank 2
answered on 20 Apr 2011, 03:53 PM
thank you very much for your answer.

that's what i finally did... so good to know that there isn't an easier solution which would have saved me time :-)
0
zhyrox
Top achievements
Rank 1
answered on 23 May 2011, 05:31 PM
Regards,
How to set the path where my SKIN
that asset ownership, but I get no skin.
thanks
0
Georgi Tunev
Telerik team
answered on 24 May 2011, 12:49 PM
Hello Reini,

I am not quite sure that I understand your question correctly - could you please provide some more information on what exactly you want to achieve?


Kind regards,
Georgi Tunev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
Reini
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
Reini
Top achievements
Rank 2
zhyrox
Top achievements
Rank 1
Share this question
or