Error when Application Storage is turned off

2 posts, 0 answers
  1. Rob
    Rob avatar
    16 posts
    Member since:
    Oct 2010

    Posted 23 Dec 2010 Link to this post


    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.

  2. Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 28 Dec 2010 Link to this post

    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.

    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top