This example sends the text to a new page that spell checks it and hands it back to us.
We request an .aspx web form in an invisible IFRAME, hand it a SpellStarter object with a text source.
The steps necessary to add spellchecking to your ASP or HTML page are:
- Add RadSpell.Net2.dll in your bin folder and the RadControls folder in your web application's root.
- Place SpellStarter.js and SpellStarter.aspx in beside your page.
- Include the SpellStarter.js file in your page.
- Define a text source object. It has to have two methods: getText() and setText(value)
- Create a SpellStarter object and pass it the text source.
- Call the startSpellCheck() method on the starter object.