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

formatproviders dependencies?

1 Answer 63 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 24 May 2012, 07:20 AM
Could not load file or assembly 'Telerik.Windows.Documents.FormatProviders.Rtf, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.

[oops hit enter too early]

 
  xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
  xmlns:telerikRTF="clr-namespace:Telerik.Windows.Documents.FormatProviders.Rtf;assembly=Telerik.Windows.Documents.FormatProviders.Rt
  xmlns:telerikGridView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"

<
telerik:RadGridView ItemsSource="{Binding Equipments}" CanUserFreezeColumns="False" RowIndicatorVisibility="Collapsed" IsSynchronizedWithCurrentItem="True" IsReadOnly="True" >
     <telerikGridView:RadGridView.Columns>
         <telerikGridView:GridViewDataColumn Header="Notes" IsReadOnly="true" IsFilterable="False" IsGroupable="False" IsSortable="False">
             <telerikGridView:GridViewDataColumn.CellTemplate>
                 <DataTemplate>
                     <Grid>
                         <telerikRTF:RtfDataProvider Name="rtfDataProvider" Rtf="{Binding Path=CalibrationInstructions, Mode=TwoWay}"
                 RichTextBox="{Binding ElementName=TextBoxCalibrate}"/>
 
                         <telerik:RadRichTextBox Name="TextBoxCalibrate">
 
                         </telerik:RadRichTextBox>
                     </Grid>
                 </DataTemplate>
             </telerikGridView:GridViewDataColumn.CellTemplate>
         </telerikGridView:GridViewDataColumn>
     </telerikGridView:RadGridView.Columns>
 </telerik:RadGridView>



 

1 Answer, 1 is accepted

Sort by
0
Mihail
Telerik team
answered on 28 May 2012, 09:38 AM
Hello Michael,

You have all the references you need. A possible cause of the problem can be mismatched assembly references, e.g. the version of Telerik.Windows.Documents.FormatProviders.Rtf being different than that of Telerik.Windows.Documents. If your project is WPF 4.0, make sure you are using the assemblies for WPF 4.0 and the version of all assemblies is the same.

If this information doesn't help you, please prepare a simple demo project illustrating the problem and get back to us so we can investigate it further.

Kind regards,
Mihail
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RichTextBox
Asked by
Michael
Top achievements
Rank 1
Answers by
Mihail
Telerik team
Share this question
or