I am working for a client who requires the use of different icons displayed instead of the default ones in the editor toolbar.
The icons he has created are 30px x 30px so they are larger than the default ones used in the CommandSprites.gif. They are also seperate images for each button not like the line of buttons in the CommandSprites.gif.
So far I have managed to display each of them them via CSS as follows:
.rade_toolbar.MySkin .Save
{
background-image: url(MySkin/ToolBarImages/Save.png);
background-position: center;
background-repeat: no-repeat;
width: 30px;
height: 30px;
}
.rade_toolbar.MySkin .Print
{ ..... etc...
And in the Editor declaration area I have done the following:
<telerik:RadEditor ID="RadEditor1" runat="server" EnableEmbeddedSkins="False" Skin="MySkin">
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool name="Save" text="Save" ShowIcon="true" />
<telerik:EditorTool name="Print" text="Print" ShowIcon="true" />
etc...
The problem is, I have searched every help file, every forum, the online documentation etc. but nothing decribes the structure of the CSS that is used for the toolbar in the editor. My client is using Telerik RadControls for ASP.NET Ajax version 2008.03.1409.20.
I want to use some of the CSS used in the Vista skin and have copied this to a file called MySkin however all the info I have been reading seems to be for all different versions of these skins and editors and not much of it makes sense.
Just a Clear explaination as to how to do what I am doing here would be much appreciated by anyone. I would like to place the icons where I want them on the top (which I have had some success with) and use some of the CSS structures originating from the vista skin.
Please note: I am not asking about how to do custom buttons here, that is already understood, I need to replace the existing CommandSprites.gif buttons with my own custom made icon buttons that are 30px x 30px