Completed
Last Updated: 20 Oct 2014 14:26 by ADMIN
ADMIN
George
Created on: 03 Sep 2014 12:42
Category: Editors
Type: Bug Report
1
ADD. RadSpellChecker - RadIsolatedStorageCustomDictionary does not provide public API which allows you to re-read the words in the custom dictionary
When using CustomDictionary:

DocumentSpellChecker checker = this.radRichTextBoxResponses.SpellChecker as DocumentSpellChecker;
RadIsolatedStorageCustomDictionary dict = checker.GetCustomDictionary(new CultureInfo("en-US")) as RadIsolatedStorageCustomDictionary;

Adding words to the dictionary using the SpellCheck form saves them to the CustomDictionary.txt file created by the isolated storage. However, the words loaded in memory are not being updated.

Currently they can be updated by invoking the following method with reflection:

dict.GetType().GetMethod("ReadIsolatedStorage", BindingFlags.Instance | BindingFlags.NonPublic).Invoke(dict, null);



This method should be made public.
0 comments