AR11- Table is not generated from rtf

Posted by: mateusz.smiech on 7 June 2019, 1:54 am EST

    • Post Options:
    • Link

    Posted 7 June 2019, 1:54 am EST

    Hello,

    I have application which stores data (table in this case) in rtf format. When I want to display that data on the report in the RichTextBox control, table is not displayed correctly (There are no borders and text is not in the correct location).

    But when I add some breaklines/“enters” in the text editor in my application, table is displayed correctly but with free space below. This rtf seems to be fine becouse it is not displayed correctly only on report preview.

    Attached file include rpx layout with script that fill RichTextBox.

    Point 1- in the script section there is the rtf without breaklines.

    Point 2- is the the rtf with breaklines.

    Could you advise me what can be done in this case? Is it setup issue or a bug?

    testLayout.zip

  • Posted 7 June 2019, 3:16 am EST - Updated 30 September 2022, 5:42 pm EST

    Hello,

    Could you please confirm, what do you mean by “but with free space below” here. Could you please see the attached image.

    Thanks.

  • Posted 7 June 2019, 8:04 am EST - Updated 30 September 2022, 5:42 pm EST

    I meant break lines under table like here:

  • Posted 8 June 2019, 6:11 am EST

    Hello,

    It is By-Design. The RichTextBox control is limited in its support for advanced RTF features such as the ones supported by Microsoft Word. In general, the features supported by WordPad are supported in this control.

    Please refer to the following link:

    https://help.grapecity.com/activereports/webhelp/AR11/webframe.html#LoadaFileintoaRichTextControl.html

    Thanks.

  • Posted 10 June 2019, 1:55 am EST

    Thank you for the answer.

    I have one more question. Is it improved in the newer versions e.g. AR12 or AR13?

  • Posted 10 June 2019, 2:05 am EST

    Hello,

    Sorry to mention that this limitation still exists in AR13 also. You can use the HTML instead of RTF content. Please refer to the following link for support tag of HTML in RichTextBox:

    https://help.grapecity.com/activereports/webhelp/AR11/webframe.html#RichTextBox.html

    Thanks,

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels