This is a migrated thread and some comments may be shown as answers.

Spell Checking the content of a RadEditor

1 Answer 93 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 06 Feb 2009, 10:24 AM
Hi,

I have a RadSpell button on my form where I want to spell check the contents of a RadEditor (Version=2008.3.1125.20).
I've set the ControlToCheck value as a RadEditor. However, when I click on the spell check button, the Spell checker checks the spelling of the editor itself, rather than the content of the editor.

        <telerik:radeditor runat="server" id="txtMsg" Language="en-GB" ToolsFile="~/XMLData/ToolsFile.xml">
        </telerik:radeditor>
         <telerik:RadSpell ID="RadSpell1" runat="server" ControlToCheck="txtMsg"  />

I want to have the RadSpell button outside the editor so that I can add a SpellCheckValidator.

How do I check the content, rather than the object itself?

Thanks.

Richard


1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 09 Feb 2009, 04:28 PM
Hi Richard,

Please, find attached a sample example demonstrating how to spellcheck RadEditor and multiple textboxes from an external Asp:Button.

Feel free to enhance the example to fit your scenario.

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Spell
Asked by
Richard
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or