I am using RadSpellChecker with RichTextbox. Is it possible to bind a database table or a list to RadSpellChecker to Dictionary?
Regards,
Madhan
2 Answers, 1 is accepted
0
Andrew
Telerik team
answered on 08 Feb 2012, 02:54 PM
Hi Medhan,
RadSpellChecker uses a dictionary that reads its words from a .tdf file and can't be modified runtime.
The custom words on the other hand are stored in another dictionary that resides in the IsolatdStorage by default. You can have a custom dictionary that stores the words in the database instead of in the IsolatedStorage by implementing ICustomWodDictionary interface and providing your new class to the constructor of DocumentSpellChecker. After that, you must set this instance of DocumentSpellChecker to the SpellChecker property of RadRichTextBox.
I hope this helps.
Kind regards,
Andrew
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
When adding a new word to spellcheck, the system does not permanently add the word to the dictionary. The word is added only in that instance, but will not be available the next time spellcheck is run in a different record.
Reason:
This is because of Solution is sunning 5 machines and every time they log in they may go into a different machine w/ different user settings.
Question:
Can we identify the file and add it to the project?