Hello Deepthi,
If you are encountering what is called "White Screen of Death", the reason is most probably an unhandled exception. In Firefox, after the WSOD, you can go to tools->Error Console, scroll to the bottom and see the exception trace.
As you describe it, I guess the cause is that MEF (Managed Extensibility Framework), which RadRichTextBox uses internally, has "Failed to load one or more of the requested types". This error occurs when one of the assemblies referenced in your project has a dependency on an assembly that is not referenced.
The assembly references you need to have for all functionalities of RadRichTextBox are:
- Telerik.Windows.Documents;
- Telerik.Windows.Controls;
- Telerik.Windows.Controls.Input;
- Telerik.Windows.Controls.Navigation;
- Telerik.Windows.Controls.RibbonBar;
- Telerik.Windows.Controls.RichTextBoxUI.
For import from/ export to different file formats, you would need references to:
- Telerik.Windows.Documents.FormatProviders.OpenXml for DOCX;
- Telerik.Windows.Documents.FormatProviders.Html for HTML;
- Telerik.Windows.Documents.FormatProviders.Xaml for XAML.
- Telerik.Windows.Documents.FormatProviders.Pdf for PDF (export only).
The default en-US dictionary for SpellChecking is located in:
- Telerik.Windows.Documents.Proofing.Dictionaries.En-US.
Make sure to remove all references of assemblies that you are not using. Telerik.Silverlight.Controls.Test.Common for example has a dependency on Microsoft.Silverlight.Testing, so if you are using the former, you would have to add a reference to the latter, too.
As Bob said (thanks for sharing your experience by the way), some assemblies from the Silverlight toolkit also have assembly dependencies.
You should also verify that you have referenced all assemblies from one and the same version of the controls.
If this does not help you solve the issue, we would appreciate some more information of the assemblies you are using in your application or the exception trace if I was wrong in my guess.
All the best,
Iva
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it.
Learn more>>