Unplanned
Last Updated: 22 Nov 2021 12:02 by ADMIN
Marginpoint
Created on: 15 Nov 2021 19:26
Type: Bug Report
1
HTML view is showing auto corrected numbered list in PDF document using HTMlTextBox

Hi admin/team,

we are using HTMLTextBox to display big paragraph text using panel. The paragraph text is having numbered list [Ordered list and Unordered list] content. The report rendering PDF format, the paragrah text has auto corrected number list. We dont want auto corrected number list and should display as we have in paragraph. 

Could you please help on this. Do we have any specific properties ? Thanks

For your reference: Highlighted color -> Expected: some points are start with '6.' numbered list 

Actual-> Auto corrected numbered list and start from '1.'

 

in website Chrome Browser (Expected)

in Report Viewer PDF format(Actual)

1 comment
ADMIN
Dimitar
Posted on: 22 Nov 2021 12:02

Hello,

Thank you for the provided information and the additional screenshots demonstrating the desired and actual behavior.

I am afraid that, currently, there is no option to modify this behavior of the HtmlTextBox. Have you tested hardcoding the OL numbering in the HTML code?

You could test to use a WebBrowser control to render HTML to a bitmap with a help of a user defined function and a PictureBox item that will display the generated image (PNG) - How to render any HTML tags and CSS attributes in reports. Perhaps this approach will render the HTML code as in the browser, in the expected image.

Thank you for using Telerik Reporting!

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.