Knowledgebase Home Page  >  RapidSpell Web ASP.NET  >  Rich/HTML Textboxes
Search the Knowledge Base
How do I use RapidSpellWInline to spell check Html TextBox from ActiveUP?
https://keyoti.com/kb/Default.aspx?ToDo=view&questId=131&catId=56

Options

Print this page
Email this to a friend

(This article is for Control usage of RapidSpell Web ASP.NET)

 

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 in web.config under

 

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 ASP.NET (inline or dialog) works with pretty much any text editor, rich or plain - however since each 3rd party text box works in it's own way, there is usually a little customization required.  The following are required to use the inline spell checker with HtmlTextBox from ActiveUP.

 

1. Add this Javascript to your page with the text editor

 

function RSCustomInterface(tbElementName){
        this.tbName = tbElementName;
        this.getText = getText;
        this.setText = setText;
       
        function getText()
        {
               return eval(this.tbName+".document.body.innerHTML");
        }
       
        function setText(text)
        {
               eval(this.tbName+".document.body.innerHTML = text");
               eval(this.tbName+".focus()");
        }
}

 

2. In RapidSpellWInline, set IgnoreXML to true

 

3. In RapidSpellWInline, set CopyComputedStyleToOverlay to false.

 

4. In RapidSpellWInline, set CssClassStaticOverlay to "activeTAOverLay" (for example).

 

5. Add that class to your CSS

 

 

6. You will need to modify this to match the styles you're using for the text box, eg. padding, and font.

 

7. The TextComponentID should be set to "XXXX_Editor", where XXXX is the ClientID of your ActiveUP text box control.

 

That should do it, the spell checker will overlay the text area with a static panel showing the underlined spelling errors, as it does with plain text boxes.

 

If you have trouble please email support@keyoti.com

 

 


Related Questions:

Attachments:

No attachments were found.