This question is locked. New answers and comments are not allowed.
Hello,
Ive gone through the following document to set up the spellchecker inside my RadGridView
http://www.telerik.com/help/silverlight/radspellchecker-getting-started.html#Spellchecking_Grids
All great! However, the dictionary of words is empty.
I have referenced the Telerik.Windows.Documents.Proofing.Dictionaries.En-US assembly and I have registered the various spell-checkers and added the RadEn_USDictionary to them within the initialisation of the prism IModule implementation for the specific silverlight project as follows:
Any ideas? Given everything seems to be working except for the fact the dictionary is empty; I'm thinking it has something to do with the addition of RadEn_USDictionary to the spell-checkers (note: I'm adding the dictionary to each of teh spell-checker types).
Also, another side question; if I don't call RegisterControlSpellChecker on all 3 spell-checkers (TextBox, RichTextBox, RadRichTextBox) I'm getting a NullReference exception...
Kind regards
Steve
Ive gone through the following document to set up the spellchecker inside my RadGridView
http://www.telerik.com/help/silverlight/radspellchecker-getting-started.html#Spellchecking_Grids
All great! However, the dictionary of words is empty.
I have referenced the Telerik.Windows.Documents.Proofing.Dictionaries.En-US assembly and I have registered the various spell-checkers and added the RadEn_USDictionary to them within the initialisation of the prism IModule implementation for the specific silverlight project as follows:
ControlSpellCheckersManager.RegisterControlSpellChecker(
new
TextBoxSpellChecker());
ControlSpellCheckersManager.RegisterControlSpellChecker(
new
RichTextBoxSpellChecker());
ControlSpellCheckersManager.RegisterControlSpellChecker(
new
RadRichTextBoxSpellChecker());
var textBoxControlSpellchecker = ControlSpellCheckersManager.GetControlSpellChecker(
typeof
(TextBox));
var textBoxDocumentSpellChecker = (DocumentSpellChecker) textBoxControlSpellchecker.SpellChecker;
textBoxDocumentSpellChecker.AddDictionary(
new
RadEn_USDictionary(),
new
CultureInfo(
"en-US"
));
Any ideas? Given everything seems to be working except for the fact the dictionary is empty; I'm thinking it has something to do with the addition of RadEn_USDictionary to the spell-checkers (note: I'm adding the dictionary to each of teh spell-checker types).
Also, another side question; if I don't call RegisterControlSpellChecker on all 3 spell-checkers (TextBox, RichTextBox, RadRichTextBox) I'm getting a NullReference exception...
Kind regards
Steve