Spell Checking the content of a RadEditor

2 posts, 0 answers
  1. Richard
    Richard avatar
    2 posts
    Member since:
    Dec 2008

    Posted 06 Feb 2009 Link to this post


    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: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?



  2. Rumen
    Rumen avatar
    12782 posts

    Posted 09 Feb 2009 Link to this post

    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,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft R3 2016 release webinar banner
Back to Top