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

Can I disable WebResource.axd?

2 Answers 694 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Adriano
Top achievements
Rank 1
Adriano asked on 05 Oct 2007, 04:20 PM
Hi,

I set my own custom skin to be use by the RadDocks... it all works fine by just setting "EnableEmbeddedSkins" to false, "Skin" to my skin name, add the css file with the convetion "Dock_MySkinName.css, etc...

But I noticed that no matter what I do the WebResource.axd still been called and with it some default css rules that I can't change.

I saw some posts advising to set "UseEmbeddedScripts" to false but I could not find such a property in the RadDock objects.

I'm I missing something?

Thanks,

Adriano

2 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 08 Oct 2007, 07:38 AM
Hi Adriano,

The skin structure of RadDock "Prometheus" depends on some base classes that do not change the appearance, but just contain relative element positioning/sizing, etc - these are critical for having the dock controls displayed correctly. We chose this skin architecture because of several reasons, some of which are:
  • make the skin files as relative as possible to the appearance only;
  • save output when having differently skinned dock controls on the page;
  • protect skin editors from removing/editing the critical layout styles;
If for some reason you need to remove the WebResource.axd calls, you should create separate controls, deriving from the RadDock controls, override their RegisterCssReferences method with a blank  one and then include the layout style definitions to your page.

I hope this helps.

Kind regards,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Adriano
Top achievements
Rank 1
answered on 09 Oct 2007, 03:46 PM
that helped. thanks,

Adriano
Tags
Dock
Asked by
Adriano
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Adriano
Top achievements
Rank 1
Share this question
or