Hi,
I am getting an javascript error message on client side when loading HTML into the Content property of the RadEditor control:
textEditor.Content =
"<html xmlns="
http:
//www.w3.org/1999/xhtml"><head><title></title></head><body><p><span>qdwqwdwqd</span></p></body></html>";
The error I am getting is a popup saying:
Error! Set EditorContentAreaMode to Iframe if you want to edit full page HTML!
The editor control is defined in the asp.net user control markup as :
<rade:SPRadEditor RenderMode=
"Classic"
ID=
"textEditor"
Runat=
"server"
EditModes=
"Design"
Language=
"nb-NO"
OnClientLoad=
"editorLoad"
OnClientSubmit=
"OnClientSubmit"
ContentAreaMode=
"Iframe"
>
</rade:SPRadEditor>
I have also checked while debugging that the ContentAreaMode is set to Iframe while debugging.
The content is set in the editor, so that is fine. I just need to get rid of the error popup message.
Does anyone know how to either configure the editor to fix this or if it is possible to supress the error message in any way?
Best regards,
Geir Morten Hagen