Can I disable WebResource.axd?

3 posts, 0 answers
  1. Adriano
    Adriano avatar
    16 posts
    Member since:
    Apr 2007

    Posted 05 Oct 2007 Link to this post

    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. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 08 Oct 2007 Link to this post

    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
  3. Adriano
    Adriano avatar
    16 posts
    Member since:
    Apr 2007

    Posted 09 Oct 2007 Link to this post

    that helped. thanks,

    Adriano
Back to Top