Using the javascript API and adding to server dictionary
14 views
Skip to first unread message
muzi...@hotmail.com
unread,
Feb 19, 2015, 3:06:42 PM2/19/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to aspne...@googlegroups.com
I am using your spell button to run the client side spell checker, but I am also attaching an onclientclick to a server side button to perform a spell check on a textbox before submitting a form for a save.
My javascript function has the following:
var mySpell = new LiveSpellInstance();
mySpell.Fields = "txtNarrative";
mySpell.AddWordsToDictionary = "Server";
mySpell.ShowSummaryScreen = false;
mySpell.Language = "English (International)";
mySpell.ServerModel = "aspx";
mySpell.CheckInWindow();
However, the spell checker dialog displays with a 'Add Personal' button instead of 'Add Word' button to add custom words to the server file.
I do have the following in my web.config as well:
<add key="aspnetspell_usecentraldictionary" value="true"/>
What else am I missing to get the 'Add Word' button to add custom words to the custom.txt on the server?
muzi...@hotmail.com
unread,
Feb 20, 2015, 9:16:14 AM2/20/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to aspne...@googlegroups.com, muzi...@hotmail.com
Chaned text of property to all caps "SERVER" and it worked now.