Invalid web resource with custom skin

4 posts, 0 answers
  1. Curt
    Curt avatar
    82 posts
    Member since:
    Sep 2012

    Posted 26 Mar 2008 Link to this post

    I have copied the Default skin and made one change.  However, when I run the page I get an error about an invalid webresource.

    I have declared the skin and set the following: Skin="DWDS" EnableEmbeddedSkins="false"

    I have the stylesheet linked.  The splitter looks correct, it just has the webresource error.  I have decoded the webresource and it says that the error is here:

    pTelerik.Web.UI|Telerik.Web.UI.Skins.DWDS.Splitter.space.gif

    That image exists in the folder.  What I don't understand is if I set the skin="Default" EnableEmbeddedSkins="false" it works without the error.  I have even changed the Default stylesheet to match my custom one.  It works just like my custom one but without the webresource error.




  2. Ubong
    Admin
    Ubong avatar
    328 posts

    Posted 31 Mar 2008 Link to this post


    Hi BD,

    Most likely you changed the Skin Folder name from 'Default' to DWDS and in this case, even though you have correctly linked the file in your page, you would also need to go the Splitter.Default.css file and change the class names replacing the 'Default' suffixes with 'DWDS' e.g:

    .RadSplitter_Default{  
        border-collapsecollapse;  
        border-bottom1px/* half the size of the border, but at least 1px */ 

    should be:

    .RadSplitter_DWDS  
    {  
        border-collapsecollapse;  
        border-bottom1px/* half the size of the border, but at least 1px */ 

    Following in the footsteps of your scenario , after changing these classname suffixes, the skin shows up correctly as the DWDS skin.
    You can see the attached pages for reference as well.

    Greetings,
    Ubong
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Curt
    Curt avatar
    82 posts
    Member since:
    Sep 2012

    Posted 31 Mar 2008 Link to this post

    One of the first things I did was double check the CSS.  I did a find and replace when I copied the style.  All styles reference DWDS instead of Default.  The image that seems to thow the error is space.gif which exists in the Default folder.  I have copied this file also.  However, I can't find a reference to Space.gif in the Default or my style sheet. 

    I assume that space.gif must be referenced from one of the javascript files but I couldn't find it there either.  Can you tell me where or what file references Space.gif.

    Thanks

    -Brent
  4. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 03 Apr 2008 Link to this post

    Hello BD,
    I was able to reproduce the problem, and we will fix it for the upcoming Q, scheduled for 15 April. The space.gif is used by the resize Element of the RadSlidingPane. In case you do not use a RadSlidingPane, you should not get the error. Unfortunately, I cannot give you a temporary workaround for this and you will have to wait for the Q.

    Kind Regards,
    Tsvetie
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top