Hi,
Thank you very much for your business. We won't be able to advice on implementation about your specific scenario though. We can only provide information that are generic in nature and are directly related to our product.
From the SpellChecker's point of view, you can either triger it directly by setting the SpellChecker's StartButton to the ID of your button, or start it through JavaScript. The code to start the spellchecker through JavaScript would be something like this:
Code: JavaScript
var spellChecker = eo_GetObject("SpellChecker1");
spellChecker.start();
Once the SpellChecker starts, there is NO WAY for you to detect whether there is an error or not. You can only detect whether user has decided to correct an error. You can handle the SpellChecker's ClientSideOnCorrectError event to be notified whenever user corrects an error. The code will be something like this:
Code: JavaScript
function on_correct_error()
{
//your event handling code here.
....
}
Code: HTML/ASPX
<eo:SpellChecker ClientSideOnCorrectError="on_correct_error" ....>
....
</eo:SpellChecker>
Once user closes the SpellCheckerDialog, the dialog's ClientSideOnEnd event will be called. You can handle that event if you need to perform additional action when user closes the dialog.
Hope this helps.
Thanks!