Rank: Advanced Member Groups: Member
Joined: 2/1/2008 Posts: 35
|
Hi, I have got the spell checker to work in English and have just used it to work on a German specific site. The language is pulling from the German dictionary ok but how do I get to the message that appears if there is no spelling errors? "Spell Check Completed"
Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You will need to provide a custom ClientSideOnMessage handler. It will be something like this:
Code: JavaScript
function your_msg_handler(control, name)
{
if (name == "no_error")
alert("Custom message for 'completed');
}
Code: HTML/ASPX
<eo:SpellChecker ClientSideOnMessage="your_msg_handler" ....>
...
</eo:SpellChecker>
The custom message handler can have more arguments, see here for more details: http://doc.essentialobjects.com/library/1/jsdoc.public.handlers.clientside_message_handler.aspxThanks!
|