Hi,
Beautiful speller, however I have 1 request / bug. How can one force the language to an other one then the browser langague?
I could not find a solution in the help files.
Thanks
Pascal Parent parentpj@mweb.co.za
Logged In: YES user_id=1521246
You can set the of the property NetSpell.SpellChecker.Dictionary.WordDictionary.DictionaryFile or change the CultureInfo of the Current Thread!
I could change the Dic File, but when I set it to the specification of br.ispell (brasilian's aspell version) it thowns a exception
[ArgumentException: Item has already been added. Key in dictionary: "Alosio" Key being added: "Alosio"] System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +931 System.Collections.Hashtable.Add(Object key, Object value) +11
NetSpell.SpellChecker.Dictionary.WordDictionary.Initialize() +1574 netspell.PopUpSpell.Page_Init(Object sender, EventArgs e) in c:\inetpub\wwwroot\netspell\spellcheck.aspx.cs:107 System.Web.UI.Control.OnInit(EventArgs e) +67 netspell.PopUpSpell.OnInit(EventArgs e) in c:\inetpub\wwwroot\netspell\spellcheck.aspx.cs:293 System.Web.UI.Control.InitRecursive(Control namingContainer) +241 System.Web.UI.Page.ProcessRequestMain() +174
I tried and tried, but I couldn't fix it. I hope that you can do it for your language
Regards Fábio fabiolanza@hotmail.com
Log in to post a comment.
Logged In: YES
user_id=1521246
You can set the of the property
NetSpell.SpellChecker.Dictionary.WordDictionary.DictionaryFile
or change the CultureInfo of the Current Thread!
I could change the Dic File, but when I set it to the
specification of br.ispell (brasilian's aspell version) it
thowns a exception
[ArgumentException: Item has already been added. Key in
dictionary: "Alosio" Key being added: "Alosio"]
System.Collections.Hashtable.Insert(Object key, Object
nvalue, Boolean add) +931
System.Collections.Hashtable.Add(Object key, Object
value) +11
NetSpell.SpellChecker.Dictionary.WordDictionary.Initialize()
+1574
netspell.PopUpSpell.Page_Init(Object sender, EventArgs e)
in c:\inetpub\wwwroot\netspell\spellcheck.aspx.cs:107
System.Web.UI.Control.OnInit(EventArgs e) +67
netspell.PopUpSpell.OnInit(EventArgs e) in
c:\inetpub\wwwroot\netspell\spellcheck.aspx.cs:293
System.Web.UI.Control.InitRecursive(Control
namingContainer) +241
System.Web.UI.Page.ProcessRequestMain() +174
I tried and tried, but I couldn't fix it. I hope that you
can do it for your language
Regards
Fábio
fabiolanza@hotmail.com