Telerik.Web.UI.Spell has no properties while starting to spell check

2 posts, 0 answers
  1. Kok Soon
    Kok Soon avatar
    1 posts
    Member since:
    May 2008

    Posted 26 May 2008 Link to this post

    Hi telerik support team:

                       Currently i am using telerik spell check control to perform spell check and encounter this error. After investigation, i notice that the script to register namespace Type.registerNamespace("Telerik.Web.UI.Spell"); is not loaded in to browser and cause HtmlElementTextSource is undefined in the code.
                        Together i attached with my coding to facilitate your investigation.

    function startSpell()
            var spell = GetRadSpell('<%= SpellCheckerTop.ClientID %>');
            spell.set_textSource(new MultipleTextSource(sources));

    function GetSources()
        sources = new Array();
        var i;
        var j = 0;
        for (i=0; i < document.forms[0].elements.length; i++)
                   if ((document.forms[0].elements[i].name.indexOf('spellCheckQuestion') > -1) || (document.forms[0].elements[i].name.indexOf('spellCheckAnswers') > -1))
                    sources[j] = new Telerik.Web.UI.Spell.HtmlElementTextSource(document.forms[0].elements[i]);
    The problem occur at statement to assign Telerik.Web.UI.Spell.HtmlElementTextSource to sources array for performing multiple control spell check.

    may i know what have i missed out that cause namespace Telerik.Web.UI.Spell is not registered ?

    Thanks you
  2. George
    George avatar
    859 posts

    Posted 29 May 2008 Link to this post

    Hi Kok,

    Please review the following help article that shows how to spell-check multiple text areas:

    In addition, you can review the online example:

    I hope this helps.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top