Hi folks
I'm trying to get to grips with using RadEditor, but I'm having trouble with what I believe is a rendering/CSS issue. Could anybody tell me what I'm doing wrong? I have a RadEditor that refuses to display itself properly in Firefox, with the Content area not displayed - this appears to be because the markup generated for the corresponding TEXTAREA element is styled with display:none; which according to Firebug is originating from an element.style style - this looks like some default styling, which makes me think that I have missed an important CSS component from my ASP.NET code for the control:
<trk:RadEditor ID="radCommentEditor1" runat="server" EditModes="Design" Visible="true"
CssClass="~/stylesheets/trk/Editor.Default.css"
ContentAreaCssFile="~/stylesheets/trk/EditorContentArea_RTL.css"
TableLayoutCssFile="~/stylesheets/trk/TableLayoutCss.css"
Width="500px" Height="200px" Skin="Simple" Enabled="true" AutoResizeHeight="True"
ForeColor="SteelBlue" MaxHtmlLength="250" MaxTextLength="250"
Font-Names="Arial" Font-Size="Small" >
<Content>
<p>Type here</p>
</Content>
<Tools>
<trk:EditorToolGroup>
<trk:EditorTool Name="Bold" />
<trk:EditorTool Name="Italic" />
<trk:EditorTool Name="Underline" />
<trk:EditorTool Name="Cut" />
<trk:EditorTool Name="Copy" />
<trk:EditorTool Name="Paste" />
<trk:EditorTool Name="Undo" />
<trk:EditorTool Name="Redo" />
<trk:EditorSeparator />
<trk:EditorTool Name="Zoom" />
<trk:EditorTool Name="AjaxSpellCheck" />
</trk:EditorToolGroup>
</Tools>
</trk:RadEditor>
Given that all the stated stylesheets have been copied from the demo styles, i what else should I be including to get the content to display properly?
The problem is even worse in IExplorer, with the toolbar also failing to render, so I'm definitely going wrong somewhere, but I can't seem to find a lead in any of the documentation or examples!
Can anybody point me in the right direction, or suggest a better guide to coding for the RadEditor?
Thanks very much in advance
Regards
I'm trying to get to grips with using RadEditor, but I'm having trouble with what I believe is a rendering/CSS issue. Could anybody tell me what I'm doing wrong? I have a RadEditor that refuses to display itself properly in Firefox, with the Content area not displayed - this appears to be because the markup generated for the corresponding TEXTAREA element is styled with display:none; which according to Firebug is originating from an element.style style - this looks like some default styling, which makes me think that I have missed an important CSS component from my ASP.NET code for the control:
<trk:RadEditor ID="radCommentEditor1" runat="server" EditModes="Design" Visible="true"
CssClass="~/stylesheets/trk/Editor.Default.css"
ContentAreaCssFile="~/stylesheets/trk/EditorContentArea_RTL.css"
TableLayoutCssFile="~/stylesheets/trk/TableLayoutCss.css"
Width="500px" Height="200px" Skin="Simple" Enabled="true" AutoResizeHeight="True"
ForeColor="SteelBlue" MaxHtmlLength="250" MaxTextLength="250"
Font-Names="Arial" Font-Size="Small" >
<Content>
<p>Type here</p>
</Content>
<Tools>
<trk:EditorToolGroup>
<trk:EditorTool Name="Bold" />
<trk:EditorTool Name="Italic" />
<trk:EditorTool Name="Underline" />
<trk:EditorTool Name="Cut" />
<trk:EditorTool Name="Copy" />
<trk:EditorTool Name="Paste" />
<trk:EditorTool Name="Undo" />
<trk:EditorTool Name="Redo" />
<trk:EditorSeparator />
<trk:EditorTool Name="Zoom" />
<trk:EditorTool Name="AjaxSpellCheck" />
</trk:EditorToolGroup>
</Tools>
</trk:RadEditor>
Given that all the stated stylesheets have been copied from the demo styles, i what else should I be including to get the content to display properly?
The problem is even worse in IExplorer, with the toolbar also failing to render, so I'm definitely going wrong somewhere, but I can't seem to find a lead in any of the documentation or examples!
Can anybody point me in the right direction, or suggest a better guide to coding for the RadEditor?
Thanks very much in advance
Regards