Using ASPNetSpell To Spell Check ANY Rich HTML Editor
ASPNetSpell can detect and spellcheck over 200 rich HTML editors, including:
- The ASP.Net AjaxToolkit Editor
- FCK Edtor
- CKEditor
- Moxiecode Tiny MCE Editor
- Telerik Rad Editor
- Free-Text-Area
- and many, many more......
Easy Implementation
Most editors can be directly accessed by setting FieldsToSpellCheck to it's ID:
e.g.
SourceCode:<CKEditor:CKEditorControl ID="CKEditor1" runat="server" Height="200" Width="500" ToolBar="Basic">
...
</CKEditor:CKEditorControl>
<ASPNetSpell:SpellButton ID="SpellButton1" runat="server" FieldsToSpellCheck="CKEditor1" />
Exceptions
Some editors which disregard the ASP.Net framework's rendering policy must be approached in a more complex manner.
If The ID method doesnt work - simply wrap the Editor in a DIV - and set FieldsToSpellCheck to the ID of that DIV
e.g.
SourceCode:<div id="myDiv">
...My Editor Code...
</div>
<ASPNetSpell:SpellButton ID="SpellButton1" runat="server" FieldsToSpellCheck="myDiv" />
All Editors
A spell button with FieldsToSpellCheck set to
- ALL or
- EDITORS
....will automatically detect and spell check all rich editors on the page in order of appearance.
e.g. All fields of any kink
<ASPNetSpell:SpellButton ID="SpellButton1" runat="server" FieldsToSpellCheck="ALL" />
e.g. All rich HTML editors
SourceCode:<ASPNetSpell:SpellButton ID="SpellButton1" runat="server" FieldsToSpellCheck="EDITORS" />
Note:
- Only the SpellButton works in this way.... AsYouType cannot work with these editors directly.
