RadControls for ASP.NET AJAX
Cannot Find the Skins
You get an error similar to the following:
Telerik.Web.UI.[Telerik Control] with ID='[Telerik Control ID]' was unable to find embedded skin with name '[Skin Name]'.
Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.
Since Q3 2011 all the built-in skins are located in the Telerik.Web.UI.Skins.dll assembly,
so you need it as well. More information is available in this help article.
The change was announced in a blog post with Q2 2011 (here) and again with Q3 2011 (here).
GetWebResourceUrl fails
Since Q3 2011 all the built-in skins are located in the Telerik.Web.UI.Skins.dll assembly,
and therefore this method cannot get a proper URL for the stylesheet/image you are trying to reference, as the assembly it searches in is the
Telerik.Web.UI.dll, since the controls themselves are located there.
If you are using this method you need to replace it with its analogue from our SkinRegistrar class, for example:
CopyASPX
<link href='<%= Telerik.Web.SkinRegistrar.GetWebResourceUrl(this, typeof(RadEditor), "Telerik.Web.UI.Skins.Outlook.Editor.Outlook.css") %>'
rel="stylesheet" type="text/css" />
This example registers the RadEditor's Outlook skin-specific stylesheet. If you are using VB you should change this to
Me as is the equivalent in this language.
More information about this method and WebResources in general is available in
this blog post.
See Also