I created a user control that just contained the markup for a RAD editor, so I could set up all the defaults of the editor in one place and add the user control to the page where ever I needed to use a rich text editor.
Here is the markup I used (nothing fancy)
The code-behind just sets up default upload paths and declares public properties for stuff like the toolsfile (nothing fancy there either)
The problem comes when I add the control to the page. It renders correctly, including loading the correct toolsfile, however, the editor is disabled. When I view the console for errors in Google Chrome, I get "Uncaught Error: INVALID_ACCESS_ERR: DOM Exception 15" in Telerik.Web.UI.WebResource.axd
Here is the markup I used (nothing fancy)
<
telerik:RadEditor
Width
=
"99%"
SpellCheckSettings-DictionaryPath
=
"~/App_files/RadSpell"
ID
=
"editor"
EditModes
=
"Design"
StripFormattingOptions
=
"Span, Font, Css, MSWordRemoveAll"
NewLineBr
=
"false"
runat
=
"server"
>
<
CssFiles
>
<
telerik:EditorCssFile
Value
=
"~/styles/userControls/editorDefaults.css"
/>
</
CssFiles
>
</
telerik:RadEditor
>
The code-behind just sets up default upload paths and declares public properties for stuff like the toolsfile (nothing fancy there either)
The problem comes when I add the control to the page. It renders correctly, including loading the correct toolsfile, however, the editor is disabled. When I view the console for errors in Google Chrome, I get "Uncaught Error: INVALID_ACCESS_ERR: DOM Exception 15" in Telerik.Web.UI.WebResource.axd