View source on the browser shows the codebehind did not insert the paths to the images specified by the ImageUrl attributes. I've looked around the telerik forum and found some posts saying stylesheet classes are required, however, adding them hasn't helped. The css classes only affect clientside script, and the omission of the images seems to be happening serverside.
What am I doing wrong?
I'm using Telerik RAD controls 2011.2.915.35 on windows 7 SP1 and am launching the page from inside of visual studio on the personal web browser.
directory structure:
[AllLanguagesSolution]
[Images]
* radeditorSave.jpg
* radeditorSaveAs.jpg
[Images] END
* HTMLeditor.aspx
[AllLanguagesSolution] END
<head runat="server">
<title>HTML Editor Dialog</title>
<link href="styles/Main.css" rel="stylesheet" type="text/css" />
<link href="styles/authorit.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.reTool .Save
{
background-image: url(Images/radeditorSave.jpg);
}
.reTool .SaveAs
{
background-image: url(Images/radeditorSaveAs.jpg);
}
</style>
</head>
<form id="frmHTMLeditor" runat="server">
<table>
<tr><td>
<telerik:RadScriptManager ID="mgrScriptHTMLeditor" Runat="server"></telerik:RadScriptManager>
</td></tr>
<tr><td>
<telerik:RadEditor ID="telerikeditor" Runat="server"
OnClientLoad="onClientLoad"
OnClientCommandExecuting="OnClientCommandExecuting">
<Tools>
<telerik:EditorToolGroup Tag="grpInputOutput">
<telerik:EditorTool ImageUrl="./Images/radeditorSave.jpg"
ImageUrlLarge="~/Images/radeditorSave.jpg" Name="Save" ShowText="True"
Text="Save" />
<telerik:EditorTool ImageUrl="./Images/radeditorSaveAs.jpg"
ImageUrlLarge="~/Images/radeditorSaveAs.jpg" Name="SaveAs" ShowText="True"
Text="Save As" />
</telerik:EditorToolGroup>
</Tools>
<Content></Content>
</telerik:RadEditor>