This question is locked. New answers and comments are not allowed.
We are upgrading to the latest version of telerik (2016.1.217.1050). All of our existing xaml for the RadRichTextBox is failing. I've looked through the documentation and it doesn't have a specific example of how to define a TxtDataProvider.
The exact exception is telling me that the FormatProvider parameter is null and in your demo's, I do not see where you setting the FormatProvider property in the xaml.
I have the following:
<
UserControl
x ...
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:telerikTxt
=
"clr-namespace:Telerik.Windows.Documents.FormatProviders.Txt;assembly=Telerik.Windows.Documents"
...>
<!-- Then, based on an example in your demos, I have -->
<
telerikTxt:TxtDataProvider
Name
=
"TxtDataProvider"
RichTextBox
=
"{Binding ElementName=uxSearchText}"
/>
<
telerik:RadRichTextBox
x:Name
=
"uxSearchText"
>
</
UserControl
>
But based on the exception, I'm assuming I should have something like this:
<
telerikTxt:TxtDataProvider
Name
=
"TxtDataProvider"
RichTextBox
=
"{Binding ElementName=uxSearchText}"
FormatProvider
=
"SOMETHING SHOULD GO HERE"
/>
Can you provide me with an example of how to define a TxtDataProvider/TxtFormatProvider in xaml?
Thanks!!