Bug Report B133019
Visible to All Users
Duplicate

URL-properties specified within a skin file of a theme are not applied to the control if the theme is deployed to a global theme folder

created 16 years ago

Firstly, im tracking S91705 and you updated it today 16 jan. After looking at this issue i cant update it in any way. and i need to as there is a serious flaw in your skin files.
As an example the aspxbutton.skin contains the following CssFilePath="~/App_Themes/Aqua/{0}/styles.css"
As soon as these themes are put in the global theme location they all fail.
The purpose of S91705 was for you to provide a machanism that would allow developers to deploy the themes once only and not have to repeat them in every application.
That is the purpose of global themes.
Your standard themes fail in this suitation.
Image location also fail, eg:
        <LargeIncrementImage Url="~/App_Themes/Aqua/Editors/edtSpinEditLargeIncImage.png" UrlHottracked="~/App_Themes/Aqua/Editors/edtSpinEditLargeIncHottrackedImage.png" UrlPressed="~/App_Themes/Aqua/Editors/edtSpinEditLargeIncHottrackedImage.png" UrlDisabled="~/App_Themes/Aqua/Editors/edtSpinEditLargeIncDisabledImage.png" Width="7px" Height="9px" />
the solution for images is as follows:
    <ErrorImage Height="14px" Url="Editors/Error.gif" Width="14px" />
The solution for skin files seems to be to leave the css file path out entirely. for example the following works for me:
<%@ Register TagPrefix="dxe" Namespace="DevExpress.Web.ASPxEditors" Assembly="DevExpress.Web.ASPxEditors.v8.3" %>
<dxe:ASPxButton runat="server"
     CssPostfix="BlackGlass">
</dxe:ASPxButton>
another important issue with S91705 is that when you release you product can it contain one zip file that contains all the themes. otherwise they seem to be repeated all over the place. and sometimes seem different.
I havent looked at the win form versions of the themes. they can also reside in a global location so should not be application realative in any way.
Thanks

Show previous comments (9)
D D
DAF Software A .NET 16 years ago

    Plato, im sorry but please read the history of this issue and it will answer all your questions

    DevExpress Support Team 16 years ago

      Hi Michael,
      I think we've determined the cause of the problem and fixed this problem in the Global themes not compiling - Compiler Error Message: CS0012: The type 'DevExpress.XtraScheduler.Native.IDateNavigatorControllerOwner' is defined in an assembly that is not referenced. thread, so you can get the public fix for this issue there.
      With best regards,
      Dmitry

      D D
      DAF Software A .NET 14 years ago

        This issue was logged by a previous employee but I inherited his log in, so I am closing this issue.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.