EO Web 11.0.66.2
I have a form with multiple fields including one HtmlEditor control. The HtmlEditor control includes a spellcheck button that references SpellChecker1. The same spellchecker also is triggered by another button.
When the spellchecker ControlToCheck list includes all of the controls except the HtmlEditor, it runs fine. Using the spellcheck from the HtmlEditor will correctly spellcheck only the contents of the HtmlEditor.
When it includes the HtmlEditor, it will spell check the other controls (in order), hang for several seconds (subjective: about a minute) and then return spelling results like
Code: HTML/ASPX
//<![CDATA[ EO1166.f.aso(); //]]>
//<![CDATA[ EO1166.f.asp(); //]]>
//<![CDATA[ EO1166.f.aso(); //]]>
//<![CDATA[ EO1166.f.asp(); //]]>
//<![CDATA[ EO1166.f.aso(); //]]>
//<![CDATA[ EO1166.f.asp(); //]]>
...
many blank spaces
...
the contents of the lookup lists (Heading 1 Heading 2 Heading 3 Heading 4, the fonts, etc.)
the footer contents (path: <BODY></BODY>,,,,
it looks like the button-triggered spell check is including everything within the HtmlEditor control, including the header and footer templates. Interestingly, the misspelled word in the body of the HtmlEditor is not included on the list of mis-spelled words shown in the dialog for that control.
I have customized the header template on the HtmlEditor to hide many of the controls. I get the same behavior with a stock HtmlEditor (no customization) -- just with a lot more of the //<![CDATA[ EO1166.f.asp(); //]]> lines.
I have also tried replacing the HtmlEditor with a Text field and using the AJAXControlToolkit HTMLEditor extender. That did trigger normally (but the escaped HTML formatting made the list of errors nearly unreadable. This is apparently a known issue.
My preference for UX would be to have a single spell check trigger rather than one for the HtmlEditor and one for everything else. I'm not seeing how to include only the body of the HTML editor when I'm checking multiple controls.