When a RadEditor is inside a RadDock that is collapsed by default the editor control isn't drawn correctly when the dock is expanded. We setup the editor to display in a very basic fashion (no toolbars, displaying statistics and spell check). It appears that the code that runs to size the various parts of the control doesn't execute if the containing dock is collapsed by default and expanding the dock after that doesn't trigger a redraw. Is there a fix or workaround I can implement to correct the behavior?
See the code below (Default.aspx and the ToolFile referenced by the Editor). There is nothing in the code-behind.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> |
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head runat="server"> |
<title>Untitled Page</title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<div> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
</telerik:RadScriptManager> |
<telerik:RadDockLayout ID="RadDockLayout1" runat="server"> |
<telerik:RadDockZone ID="RadDockZone1" runat="server" Width="900px"> |
<telerik:RadDock ID="RadDock1" runat="server" Width="900px" Height="300px" DockMode="Docked" DefaultCommands="ExpandCollapse" Title="Collapsed" |
Collapsed="true"> |
<ContentTemplate> |
<telerik:RadEditor ID="RadEditor1" runat="server" |
AutoResizeHeight="true" Height="55px" Width="800px" |
EnableResize="false" ToolbarMode="Default" EditModes="Design" |
ToolsFile="ToolFile.xml"> |
<Modules> |
<telerik:EditorModule Name="RadEditorStatistics" Enabled="true" Visible="true" /> |
</Modules> |
</telerik:RadEditor> |
</ContentTemplate> |
</telerik:RadDock> |
<telerik:RadDock ID="RadDock2" runat="server" Width="900px" Height="300px" DockMode="Docked" DefaultCommands="ExpandCollapse" Title="Expanded"> |
<ContentTemplate> |
<telerik:RadEditor ID="RadEditor2" runat="server" |
AutoResizeHeight="true" Height="55px" Width="800px" |
EnableResize="false" ToolbarMode="Default" EditModes="Design" |
ToolsFile="ToolFile.xml"> |
<Modules> |
<telerik:EditorModule Name="RadEditorStatistics" Enabled="true" Visible="true" /> |
</Modules> |
</telerik:RadEditor> |
</ContentTemplate> |
</telerik:RadDock> |
</telerik:RadDockZone> |
</telerik:RadDockLayout> |
</div> |
</form> |
</body> |
</html> |
<root> |
<tools name="SpellCheck" enabled="true" DockingZone="Right"> |
<tool name="AjaxSpellCheck" /> |
</tools> |
</root> |