We are glad that this solved your problem, in a way. So now, to your next questions.
You can create another assembly similar to Telerik.Windows.Documents.Proofing.Dictionaries.En-US which loads dictionary you have chosen. To do that you have to create a Silverlight Class Library project. Add the .tdf file, set its Build Action to Resource and Copy to Output Directory to Copy if newer.
Now the only thing you have to do is to create a class which inherits from RadDictionary, which in turn implements a method that loads the .tdf file. The following code shows how to achieve that for a German dictionary.
RadDe-DEDictionary : RadDictionary
Stream stream = Application.GetResourceStream(
Thus you are ready with the creation of the assembly.
For the MEF to be able to discover this assembly you need to do one more thing. You should add the following line to the Application_Startup eventhandler.
Now you are good to go. When you add a reference to that assembly in your project and set the SpellCheckingCulture to "de-DE" for example, this .tdf file will be used for spellchecking.
Some side notes:
1. RadDictionary resides in Telerik.Windows.Documents assembly in Telerik.Windows.Documents.Proofing namespace.
2. To use the WordDictionaryMetadata attribute in your Silverlight Class Library project you have to add a reference to System.ComponentModel.Composition
If this doesn't help you, contact us again.
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!