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

RtfFormatProvider loses empty cell formatting for Tables.

2 Answers 29 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Nathanial
Top achievements
Rank 1
Nathanial asked on 19 Sep 2016, 07:58 PM

Hello.

I discovered that styling empty table cells works while editing, but the formatting is lost when the RadDocument is converted to RTF format and back again.       
I have created Test() method to demonstrate a simple conversion that does not work.

in EditControl.xaml.cs

private void Test()
{
      var provider = new RtfFormatProvider();
          var rtfString = provider.Export(_radRichTextBox.Document);     
          _radRichTextBox.Document = provider.Import(rtfString);
}

in EditControl.xaml

<telerik:RadRichTextBox x:Name="_radRichTextBox" />

 

Attached is a 3 step process outlining how this is breaking for me. Thanks for the help.

2 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 21 Sep 2016, 12:25 PM
Hello Nathanial,

We are aware of that issue, but the good news is that it is already fixed and the fix is included in our last 2016 R3 release.

However, if you still encounter the problem after upgrading, it will be much easier for us to find what might be the problem if you send us a sample project illustrating it.

Regards,
Todor
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Nathanial
Top achievements
Rank 1
answered on 21 Sep 2016, 12:39 PM
Thank you!
Tags
RichTextBox
Asked by
Nathanial
Top achievements
Rank 1
Answers by
Todor
Telerik team
Nathanial
Top achievements
Rank 1
Share this question
or