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

External Skin Files Seem To Be Broken In 1010 version

1 Answer 127 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 17 Oct 2007, 07:39 AM

I get the following error when setting the RadEditor to 

RadEditor1.EnableEmbeddedSkins = false;
RadEditor1.Skin = "/Skins/WebBlue";


Telerik.Web.UI.RadWindow with ID='ctl00_Center_RadEditor1dialogOpener_Window' was unable to find embedded skin with name '/Skins/WebBlue'. Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.

It looks like the Editor is not updating the dialog control with the EnableEmbeddedSkins value when it is being changed, however it is apparently passing the Skin property along.

When I attempt to set the skin to the extnernal location with out the EnableEmbeddedSkins setting set to true it breaks as expected showing the control ID of the RadEditor. 

Thanks
 

1 Answer, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 18 Oct 2007, 03:54 PM
Hi Nicholas,

This appears to be a bug in RadEditor Prometheus, and you are right about the reason. We will fix it for the upcoming service pack of the control, scheduled for the next week. I am sorry for the inconvenience.

Meanwhile you could set the EnableEmbeddedSkin to the inner controls by finding them in the controls tree:

DialogOpener opener = RadEditor1.Controls[0] as DialogOpener; 
opener.EnableEmbeddedSkins = false;
RadWindow window = opener.Controls[0] as RadWindow;
window.EnableEmbeddedSkins = false;

Best wishes,
Valeri Hristov (Senior Developer, MCSD)
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Adam
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Share this question
or