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

[Solved] Getting Error when try to accept ParagraphPropertiesDialog property of RadRichTextBox

1 Answer 114 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
nyi nyi
Top achievements
Rank 1
nyi nyi asked on 19 Jul 2011, 11:04 AM
Hi,

In my project, when i try to access  ParagraphPropertiesDialog property of RadRichTextBox, I get the following exception.

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

When i check LoaderExceptions's message, i see as follow.

Could not load file or assembly 'System.Windows.Controls.Toolkit.Internals, Version=4.0.5.0, Culture=neutral, PublicKeyToken=2c5c654d367bf4a7' or one of its dependencies. The system cannot find the file specified.

Actually I've already added the reference of System.Windows.Controls.Toolkit.Internals.

What would be the cause of the exception?
Your help is highly appreciated.

Regards,
Nyi Nyi

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 22 Jul 2011, 10:12 AM
Hello Nyi Nyi,

RadRichTextBox uses MEF to load all dialogs and when one of the assemblies has a dependency on a non-referenced assembly, it used to throw this exception. This was fixed in one of the latest versions and the problem should not appear in Q2 2011 (2011.2 712). If you are using this version of the controls, we would appreciate a sample demo. You can open a support ticket of type "General feedback" and attach the project there.
Your help will be greatly appreciated.

Best wishes,
Iva
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!

Tags
RichTextBox
Asked by
nyi nyi
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or