External Skin Files Seem To Be Broken In 1010 version

2 posts, 0 answers
  1. Adam
    Adam avatar
    5 posts
    Member since:
    Jan 2004

    Posted 17 Oct 2007 Link to this post

    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. 


  2. Valeri Hristov
    Valeri Hristov avatar
    2252 posts

    Posted 18 Oct 2007 Link to this post

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top