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

Multiple webresource.axd style sheet links

4 Answers 286 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jason Clark
Top achievements
Rank 1
Jason Clark asked on 09 Dec 2008, 02:49 PM
Hi there, we're using your latest Q3 controls, and we've disabled embedded stylesheets by setting a property in the web.config:

<appSettings>

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

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

</appSettings>

We then used a method posted by one of your techs where we use a usercontrol that looks for all ISkinnableControls within the current form and sets their skin property to our custom skin.   This all works fine..  The problem is that we see three stylesheet references to webresources.axd in our html document, which shouldn't be there since we are not using embedded skins?  Why three, why any :)

<link href="/WebResource.axd?d=_NkAcKzL_lR4vdCVSsRvaCWD41UmOOu-yM0BgPeB33QQvLJdXYTZGVCUIKILah0L0&amp;t=633631346260000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

<link href="/WebResource.axd?d=_NkAcKzL_lR4vdCVSsRvaCWD41UmOOu-yM0BgPeB33Tq9aa_akvAEN4I8wtVTgK0ISNuu78FGbxSfzrd9eBydw2&amp;t=633631346260000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

<link href="/WebResource.axd?d=_NkAcKzL_lR4vdCVSsRvaCWD41UmOOu-yM0BgPeB33QQ3R6S2A9PwmfdOAgsjdba0&amp;t=633631346260000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 09 Dec 2008, 03:16 PM
Hi Jason Clark,

Could you please tell us which controls are you using in your project? This will help us troubleshoot the issue. I suspect some of the controls does not obey to the web.config settings for some reason.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jason Clark
Top achievements
Rank 1
answered on 09 Dec 2008, 03:37 PM
Hi there, so far we're using tabstrip, dock, grid, toolbar
0
Accepted
Atanas Korchev
Telerik team
answered on 12 Dec 2008, 10:15 AM
Hello Jason Clark,

I've tested this scenario and discovered the cause of the problem. You should use
<add key="Telerik.EnableEmbeddedBaseStylesheet" value="false"/>

instead of

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

All the best,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jason Clark
Top achievements
Rank 1
answered on 12 Dec 2008, 02:58 PM
Yeah, what I did was in the user control I have that applies the skin is I set that property on every ISkinnableControl I find.    I should try and find the blog post I read about this, as that's where I got that key for the app config.

Thanks much
Tags
General Discussions
Asked by
Jason Clark
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Jason Clark
Top achievements
Rank 1
Share this question
or