Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
webspellchecker on pages that use master page
posted

I have a page that uses a master page.  When I associate a WebSpellChecker to a WebHtmlEditor by setting the SpellCheckerId property on the WebHtmlEditor to the ClientId of the WebSpellChecker.  It fails to recognize that a WebSpellChecker with that ID exists.  However, it works fine on a normal asp.net 2.0 page that does not use a master page.  Is there a work around for this issue, or I am doing something wrong.

Thanks

Parents
  • 65
    posted

    I am also having issues with the webSpellChecker when it is used on pages that use a master page.  I am not using regular asp textboxes, one spell checker control, and a custom javascript library.  The javascript loops through all the text boxes and spell checks them all while only having one instance of the spell checker on the page.  This works great on pages that don't use the master page.  When on the master page I get an undefined error on the following line of code.

    owpcChecker.checkSpelling(controls[currentIndex].value, onTextChecked);

    The control is returning values correctly it is the owpcChecker that can't be found.  If I explicitly find the control and assign it to a var and try to do var.checkSpelling it still doesn't work.  Any ideas would be appreciated.  Thanks

Reply Children
No Data