Hello,
In one of the projects of our solution, I’m getting the following error when binding HtmlDataProvider to RadRichTextBox:
Value cannot be null. Parameter name: formatProvider
The invocation of the constructor on type 'Telerik.Windows.Documents.FormatProviders.Html.HtmlDataProvider' that matches the specified binding constraints threw an exception. [Line: 386 Position: 55].
That exception seems to be thrown from the constructor of DataProviderBase and I get it even if I switch to TxtDataProvider. It doesn’t help that the same
binding works in other projects of the same solution :(
Version that worked before updating to 2015.1.0401.1050 NoXaml – 2014.3.1024.1050 NoXaml
All references set according to http://docs.telerik.com/devtools/silverlight/controls/radrichtextbox/getting-started/getting-started
Here’s what I have left in the user control:
Thank you,
Sergey
In one of the projects of our solution, I’m getting the following error when binding HtmlDataProvider to RadRichTextBox:
Value cannot be null. Parameter name: formatProvider
The invocation of the constructor on type 'Telerik.Windows.Documents.FormatProviders.Html.HtmlDataProvider' that matches the specified binding constraints threw an exception. [Line: 386 Position: 55].
That exception seems to be thrown from the constructor of DataProviderBase and I get it even if I switch to TxtDataProvider. It doesn’t help that the same
binding works in other projects of the same solution :(
Version that worked before updating to 2015.1.0401.1050 NoXaml – 2014.3.1024.1050 NoXaml
All references set according to http://docs.telerik.com/devtools/silverlight/controls/radrichtextbox/getting-started/getting-started
Here’s what I have left in the user control:
<
UserControl
x:Class
=
"Cebos.Veyron.Search.Views.Details.EmailView"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:telhtml
=
"clr-namespace:Telerik.Windows.Documents.FormatProviders.Html;assembly=Telerik.Windows.Documents.FormatProviders.Html"
mc:Ignorable
=
"d"
>
<
Grid
Background
=
"White"
>
<
telhtml:HtmlDataProvider
Html
=
"{Binding HtmlContent, Mode=TwoWay}"
RichTextBox
=
"{Binding ElementName=HtmlRichTextBox}"
/>
<
telerik:RadRichTextBox
x:Name
=
"HtmlRichTextBox"
/>
</
Grid
>
</
UserControl
>
Thank you,
Sergey