Version 3.4 Up
In v3.4 upwards you only need to;
1. Set the TextComponentInterface to Automatic
2. Set the RapidSpellWInline.TextComponentID or RapidSpellWebLauncher.TextComponentName to the ID of the control.
3. Add, ValidateRequest="false" to the page tag of the popup page, and/or RapidSpellWInlineHelper page.
Note: If you are using .NET 4 or higher you will need to add <httpRuntime requestValidationMode="2.0" /> in web.config under <system.web>
The spell checker should then automatically set itself up for your textbox. If it doesn't work, please see the information below.
Version 3.3 Down
RapidSpell Web can add spell check to just about all editors - the only task is to properly write the RSCustomInterface object needed to interface with the editor.
For FCK Editor, and RapidSpellWInline (the same code should work with RapidSpellWebLauncher too).
1. In RapidSpellWInline set;
-TextComponentInterface to "Custom"
-TextComponentID to the ClientID of the FCK control plus the text "___Frame".
Eg. if the ID of your FCK is "editor" then set TextComponentID="editor___Frame".
Eg. if this editor is inside a user control, then although it's ID is "editor", it's ClientID will be _editor. So if your user control ID is myUC, then set TextComponentID to "myUC_editor___Frame".
You can pull the ClientID at runtime with codebehind like
RapidSpellWInline1.TextComponentID = FCKEditor1.ClientID + "___Frame";
or in VB
RapidSpellWInline1.TextComponentID = FCKEditor1.ClientID & "___Frame"
-IgnoreXML to "true"
-RapidSpellWInlineHelperPage as usual to the URL of the page holding RapidSpellWInlineHelper (note, you should also add validateRequest="false" to the page directive on that page)
2. Add this Javascript block to the page using the editor
<script type='text/javascript'>
function RSCustomInterface(tbElementName){
this.tbName = tbElementName.replace("___Frame", "");this.getText = getText;this.setText = setText;
function getText(){
return FCKeditorAPI.GetInstance( this.tbName ).GetHTML();
}
function setText(text){
FCKeditorAPI.GetInstance( this.tbName ).SetHTML(text);
}
}
</script>
-The spelling overlay will cover the toolbar, at this time, there is no workaround to this, however it does not affect functionality.