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

Error when Application Storage is turned off

1 Answer 54 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 23 Dec 2010, 06:01 PM
Hi,

The RadRichTextBox will throw an unhandled IsolatedStorageException if you turn off Application Storage under Silverlight settings.  I am seeing this in the Binding demo on the sample site as well as in a sample control I have developed.  I think that the spell checker may require isolated storage, but I am not positive yet.

Rob

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 28 Dec 2010, 02:12 PM
Hello Rob,

SpellChecker relies on Silverlights's IsolatedStorage when adding words to the dictionary on user's demand. If it is disabled, throws an Exception.
In case you want to use the "Add Word" functionality of the spell checker with disabled IsolatedStorage, you'll have to use a non-persistent (session only) storage of the custom words like so:

radRichTextBox.SpellChecker = new DocumentSpellChecker(new  RadNonPersistentCustomDictionary());

Another option would be to disable the spell checking altogether by setting the IsSpellCheckingEnabled to false. Do not hesitate to contact us again in case you have any other issues with the use of RadRichTextBox.

Regards,
Iva
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
RichTextBox
Asked by
Rob
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or