I am trying to optimize my RadControls by moving my custom skins to embedded resources by following this tutorial.
I have two RadMenus, both of which are using custom skins. As a test, I moved one of the custom skins to the class library TelerikCustomSkins, and set up all the elements as embedded resources, declared them, etc. When I run the project, both of my RadMenus are screwed up, and by using Firefox's Firebug, I see in the Net panel that the resource is causing a 500 Internal Server error with the following response:
Server Error in '/' Application.
Assembly "TelerikCustomSkins" does not contain a script with hash code
Description: An unhandled exception occurred during the execution of the current
web request. Please review the stack trace for more information about the error and where it originated
in the code.
Exception Details: System.NotSupportedException: Assembly "TelerikCustomSkins
" does not contain a script with hash code "d806b4b1".
An unhandled exception was generated during the execution of the current web request. Information regarding
the origin and location of the exception can be identified using the exception stack trace below.
[NotSupportedException: Assembly "TelerikCustomSkins" does not contain a script with hash code
Telerik.Web.UI.ScriptEntry.Deserialize(String serializedScriptEntries) +1041
Telerik.Web.UI.CombinedScriptWriter.WriteCombinedScriptFile(Page page, HttpContext context) +62
Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context) +37
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET
Does anyone have any suggestions for what to look for? I googled this issue, but only found references to 32-bit vs 64-bit load testing scenarios, which doesn't apply to me as I am simply running this on my localhost using the ASP .NET Development server.