How to use LoadCommonTypos of ASPNet Spell checker?

Bazman

New Member
I am using ASPNet Spell checker in my ASP.net web application. currently it loads the whole dictionary by using\[code\] SpellEngine.LoadDictionary("English (International)");\[/code\]I want to load a common-mistake.txt and first check that file and if no suggestion available then go to dictionary Here is a code which i am using\[code\] protected void Page_Prerender(object sender, EventArgs e){ ASPNetSpell.SpellChecker SpellEngine = new ASPNetSpell.SpellChecker(); SpellEngine.DictionaryPath = Server.MapPath("ASPNetSpellInclude/dictionaries"); SpellEngine.LoadDictionary("English (International)"); SpellEngine.LoadCustomDictionary("custom.txt"); LinkButton1.Text = SpellEngine.DidYouMean(TextBox1.Text); Label1.Visible = (LinkButton1.Text != "");}\[/code\]
 
Back
Top