I have a read editor that uses a toolbar from an xml - this works fine. I am trying to display icons for the 2 tools I have created but cant get them to display properly - what am I doing wrong here?
Toolbar XML File:
Styles From Page Header:
EDITOR:
Toolbar XML File:
| <tools name="Database" dockable="true" dockingZone="Top" enabled="true"> |
| <tool name="InsertImage" Text="Insert Dealer Image" value="[d_logo]" /> |
| <tool name="InsertDBColumns" type="dropdown"> |
| <item name="First Name" value="[first_name]"></item> |
| <item name="Last Name" value="[last_name]"></item> |
| <item name="Address" value="[address]"></item> |
| <item name="City" value="[city]"></item> |
| <item name="State" value="[state]"></item> |
| <item name="Zip Code" value="[zip]"></item> |
| <item name="Contact Person" value="[contact]"></item> |
| <item name="Contact Email Link" value="[email]"></item> |
| <item name="Contact Phone #" value="[phone]"></item> |
| <item name="Contact Phone Ext." value="[contact_ext]"></item> |
| </tool> |
| </tools> |
Styles From Page Header:
| <style type="text/css"> |
| .reToolbar.Sunset .InsertImage |
| { |
| background-image:url(../images/img_icon.gif); |
| } |
| .reToolbar.Sunset .InsertDBColumns |
| { |
| background-image:url(../images/db_icon.gif); |
| } |
| </style> |
EDITOR:
| <telerik:RadEditor ID="editor_DBEDITS" runat="server" Height="400px" |
| Skin="Sunset" |
| ToolsFile="UserControls/EditorToolbar.xml" Width="700px" OnClientCommandExecuting="OnEditorExecuting"> |
| <Content> |
| </Content> |
| </telerik:RadEditor> |