that would be great! I have now spent two days crafting a workaround (on the basis of some broken examples i found) and it works but I have a renewed respect for the one that writes a telerik worthy solution. I have too much hardcoded stuff/ugly code in my solution now.
In the process I found the online visual style builder which is great and I found a tool somewhere that can generate an assembly from the downloaded zip file (142703_telerik-webresourcebuilder). Then I have to register every component (26 of them) with the style manager for every custom skin (the solution where you register only the assemby containing the custom skin with the style manger doesn't seem to work anymore) and have to replace the skinmanager with a user control that checks if a skin is embedded or not and if not I have to not only recursively set the skin for the control tree but also disable the EnableEmeddedSkins property.
What I would like the new solution to do (if I may request so):
- Provide a telerik supported tool for generating the assembly from the download zip file from the visual style builder. Let this tool accept more than one input file (see below) so that multiple custom skins can be embedded in one assembly.
- Beeing able to register this assembly with the stylemanager or skinmanager with one line (not one line per control, or worse, one line per control per custon skin)
- The SkinManager then handles the custom skin equal to the embedded skin (no need to fiddle with EnableEmbbeddedSkins).
For example: I create a skin "TestSkin1" with the visual style builder. Then I run the assembly generator to create a "TestSkin1File.dll" file.
With the tool I use now (142703_telerik-webresourcebuilder) this dll is 7Mb so maybe it could be made more efficient to create smaller dll's.
I would like to register thiss TestSkin.dll file with one line. Something like:
<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
<telerik:StyleSheetReference Name="TestSkin1File.TestSkin1.css" Assembly="TestSkin1" />
Currently I have to register 26 controls separately, per custom skin.
(Currently this does not work, although in an example from 2005 I had to conclude that it had worked in the past)
I do not want to have to register every control separately, with a line for every <Control>
<telerik:StyleSheetReference Name="TestSkin1File.TestSkin1.<Control>.TestSkin1.css" Assembly="TestSkin1" />
Also, if I create a subsequent skin, TestSkin2 I would like to be able to use the assembly generation tool to accept TestSkin1.zip and TestSkin2.zip as input files and generate, say, a TestSkins.dll file which I can register with one line etc.
That would be great.