I get the below error when i run the rich text editor sample at InitializeComponent();
Set property 'Telerik.Windows.Controls.RadRibbonView.Backstage' threw an exception
1 Answer, 1 is accepted
0
Martin Ivanov
Telerik team
answered on 31 Jul 2012, 12:07 PM
Hello Pratheep,
The exception that is thrown is usually a sign that there are conflicting assembly references in the project.
As noted in this article RadRichTextBoxRibbonUI has a dependency on Telerik.Windows.Controls.RibbonView - the new implementation of the ribbon control. That is why the following two references have to be added to the project:
Telerik.Windows.Controls.RibbonView;
Telerik.Windows.Controls.RichTextBoxUI.
At the same time, there are two references that must not be added, as the assemblies contain classes with the same names and there is no way to determine which classes (from which assembly) should be used:
Telerik.Windows.Controls.RibbonBar;
Telerik.Windows.Controls.RadRichTextBoxRibbonUI.
Please, make sure to have references only to the first two assemblies. After removing the unnecessary references, try to rebuild the project. Sometimes it is required to manually delete the bin and obj folders.
You can find the full list of assemblies that RadRichTextBox and its UI use here.