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

Report's on-load inaccuracies

4 Answers 33 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Андрей
Top achievements
Rank 1
Андрей asked on 26 Jun 2017, 09:04 AM

Hi there!

The situation is in the following.

On report load, before it loads finally, there are two inaccuracies.

First, by some reason, in report appears two strange boxes. It looks like one is for menu and other is for content. But in my final report there is nor menu neither separate content box.

[look at 1.png]

Second, when data have been loaded, on rendering all text became bold. After few seconds everything becomes normal.

[look at 2.png]

Final version of report looks like that:

[look at 3.png]

So, my question is in the following: how to prevent report to display two unnecessary boxes and how to stop report to make all text bold, when report loading?

Thanks for help.

4 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 26 Jun 2017, 01:36 PM
Hi Andrey,

Based on the provided description and screenshots, I believe the issue is related to external CSs on the page.

In general, reports are rendered in HTML on the server, and the HTML is delivered and loaded in the HTML5 Viewer at the client. The HTML is placed in a DIV element as a part of the content of the page. If there are external CSS rules, they can change the layout of the report and the viewer. this can be checked by exporting in PDF - if the layout is correct in the PDF file the issue is related to styles.



Regards,
Stef
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Андрей
Top achievements
Rank 1
answered on 26 Jun 2017, 01:49 PM
If the problem was in css, css rules would affect report’s final layout. However, layout takes normal appearance after loading (see 3.png). My question is about how to prevent strange behavior during loading.
0
Accepted
Stef
Telerik team
answered on 26 Jun 2017, 02:03 PM
Hi Andrey,

This is not the expected behavior of the HTML5 viewer.

On 3.png the text is clipped, which is not expected. Textbox items grow vertically to fit their content, and the calculated size is considered by the HTML rendering mechanism.
Please test to export in PDF file to compare the results. Also inspect the HTML rendered on the page with F12 Developer tools, and check the Style inheritance.

Regards,
Stef
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Андрей
Top achievements
Rank 1
answered on 26 Jun 2017, 03:11 PM
Ok, thanks.
Tags
General Discussions
Asked by
Андрей
Top achievements
Rank 1
Answers by
Stef
Telerik team
Андрей
Top achievements
Rank 1
Share this question
or