This is a migrated thread and some comments may be shown as answers.

RadSpellChecker - need to bind database table/list to dictionary

2 Answers 41 Views
SpellChecker
This is a migrated thread and some comments may be shown as answers.
Madhan
Top achievements
Rank 1
Madhan asked on 07 Feb 2012, 12:55 PM
Hi,

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

Sort by
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 >>
0
Sudheer
Top achievements
Rank 1
answered on 15 May 2013, 09:48 AM

Issue:

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?

Tags
SpellChecker
Asked by
Madhan
Top achievements
Rank 1
Answers by
Andrew
Telerik team
Sudheer
Top achievements
Rank 1
Share this question
or