New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
Spellchecking in HTM, HTML and ASP Files
Scenario
How do you perform spellchecking in *.htm, *.html, or *.asp files
Solution
To use RadSpell for spellchecking of non-ASP.NET pages (*.htm, *.html, or *.asp):
-
Use JavaScript to open an *.aspx file (with an integrated RadSpell control) in a new window.
-
That window receives the text that needs to be checked as a parameter and puts it in a hidden small window with a TextBox.
-
Then it starts the spellchecker and the user performs the checking. When the spellchecker window closes, the small window closes automatically as well and returns the corrected text back to the starter window.
-
That window then sets the value of the TextBox being checked to the corrected text (returned as a parameter).