RtfFormatProvider loses empty cell formatting for Tables.

3 posts, 0 answers
  1. Nathanial
    Nathanial avatar
    25 posts
    Member since:
    Sep 2016

    Posted 19 Sep Link to this post

    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. Todor
    Admin
    Todor avatar
    168 posts

    Posted 21 Sep Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Nathanial
    Nathanial avatar
    25 posts
    Member since:
    Sep 2016

    Posted 21 Sep Link to this post

    Thank you!
Back to Top