Welcome Guest Search | Active Topics | Sign In | Register

Spell Check Completed in another Language Options
Colin
Posted: Wednesday, September 23, 2009 10:06:14 AM
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
eo_support
Posted: Wednesday, September 23, 2009 10:17:48 AM
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.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.