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

    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


  2. Rumen
    Admin
    Rumen avatar
    12851 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,
    Rumen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top