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

Invalid web resource with custom skin

3 Answers 76 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Curt
Top achievements
Rank 1
Curt asked on 26 Mar 2008, 06:48 PM
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.




3 Answers, 1 is accepted

Sort by
0
Ubong
Telerik team
answered on 31 Mar 2008, 08:12 AM

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
0
Curt
Top achievements
Rank 1
answered on 31 Mar 2008, 02:36 PM
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
0
Tsvetie
Telerik team
answered on 03 Apr 2008, 05:06 PM
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
Tags
Splitter
Asked by
Curt
Top achievements
Rank 1
Answers by
Ubong
Telerik team
Curt
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or