Greetings,
I'm trying to figure out a quirk I see with RadEditor. I've declared a RadEditor instance in the .aspx page, and when the page loads initially the editor content area is rendered as a single line ( although I have declared the width=680px and the height=500px ). When I hit F5 to refresh the page, the editor's content area is displayed as I would expect.
Any ideas on what could cause this? I have attached two screen shots so you can see how the editor content area is being rendered ( "screen_1.jpg" and "screen_2.jpg" ). The markup declaring the Editor is as follows, and is contained within an UpdatePanel.
Regards,
Tom
<telerik:RadEditor |
ID="EmailBodyEditor" runat="server" |
Width="680px" |
Height="500px" |
AutoResizeHeight="true" |
NewLineBr="true" |
ToolBarMode="Default" |
EnableResize="False" |
ExternalDialogsPath="~/EditorDialogs/" |
EditModes="Design, Preview, HTML" |
OnClientCommandExecuting="OnClientCommandExecuting" > |
<CssFiles> |
<telerik:EditorCssFile Value="fakeCssfile.css" /> |
</CssFiles> |
<Tools> |
<telerik:EditorToolGroup> |
<telerik:EditorTool Name="Bold" /> |
<telerik:EditorTool Name="Italic" /> |
<telerik:EditorTool Name="Underline" /> |
<telerik:EditorTool Name="StrikeThrough" /> |
<telerik:EditorTool Name="ForeColor" /> |
<telerik:EditorTool Name="BackColor" /> |
<telerik:EditorTool Name="InsertOrderedList" /> |
<telerik:EditorTool Name="InsertUnorderedList" /> |
<telerik:EditorTool Name="Indent" /> |
<telerik:EditorTool Name="Outdent" /> |
<telerik:EditorTool Name="JustifyLeft" /> |
<telerik:EditorTool Name="JustifyCenter" /> |
<telerik:EditorTool Name="JustifyRight" /> |
<telerik:EditorTool Name="JustifyFull" /> |
</telerik:EditorToolGroup> |
<telerik:EditorToolGroup> |
<telerik:EditorTool Name="FindAndReplace" /> |
<telerik:EditorTool Name="ToggleScreenMode" /> |
<telerik:EditorTool Name="InsertTable" /> |
<telerik:EditorSeparator /> |
<telerik:EditorTool Name="FontName" /> |
<telerik:EditorTool Name="FontSize" /> |
<telerik:EditorTool Name="LinkManager" /> |
<telerik:EditorTool Name="ImageManager" /> |
<telerik:EditorTool Name="AjaxSpellCheck" /> |
</telerik:EditorToolGroup> |
</Tools> |
<ContextMenus> |
<telerik:EditorContextMenu TagName="IMG"> |
<telerik:EditorTool Name="SetImageProperties" /> |
<telerik:EditorTool Name="ImageMapDialog" /> |
</telerik:EditorContextMenu> |
<telerik:EditorContextMenu TagName="TABLE"> |
<telerik:EditorTool Name="ToggleTableBorder" /> |
<telerik:EditorTool Name="SetTableProperties" /> |
<telerik:EditorTool Name="DeleteTable" /> |
</telerik:EditorContextMenu> |
<telerik:EditorContextMenu TagName="TD"> |
<telerik:EditorTool Name="InsertRowAbove" /> |
<telerik:EditorTool Name="InsertRowBelow" /> |
<telerik:EditorTool Name="DeleteRow" /> |
<telerik:EditorTool Name="InsertColumnLeft" /> |
<telerik:EditorTool Name="InsertColumnRight" /> |
<telerik:EditorTool Name="MergeColumns" /> |
<telerik:EditorTool Name="MergeRows" /> |
<telerik:EditorTool Name="SplitCell" /> |
<telerik:EditorTool Name="DeleteCell" /> |
<telerik:EditorTool Name="SetCellProperties" /> |
</telerik:EditorContextMenu> |
<telerik:EditorContextMenu TagName="A"> |
<telerik:EditorTool Name="SetLinkProperties" /> |
<telerik:EditorTool Name="Unlink" /> |
</telerik:EditorContextMenu> |
<telerik:EditorContextMenu TagName="BODY"> |
<telerik:EditorTool Name="Cut" /> |
<telerik:EditorTool Name="Copy" /> |
<telerik:EditorTool Name="Paste" /> |
<telerik:EditorTool Name="PasteFromWord" /> |
<telerik:EditorTool Name="PastePlainText" /> |
<telerik:EditorTool Name="PasteAsHtml" /> |
</telerik:EditorContextMenu> |
</ContextMenus> |
<ImageManager ViewPaths="~/Documents/Images" |
UploadPaths="~/Documents/Images" |
DeletePaths="~/Documents/Images" |
MaxUploadFileSize="2097152" SearchPatterns="*.jpg, *.gif, *.jpeg, *.bmp" /> |
</telerik:RadEditor> |