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

Extended background image

5 Answers 110 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Oscar
Top achievements
Rank 1
Oscar asked on 27 Nov 2013, 06:01 PM
Hello,
I have a report with a background image. In the Report Designer the background image is correct, but in the report viewer the image is zoomed. When I export the report the image is correct.

How I can fix this?

Regards.

5 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 02 Dec 2013, 12:10 PM
Hello Oscar,

The issue seems to be related to the browser resolution. Try using an image with 96dpi resolution and sized to fit the report document dimensions. Also check if the browser is not magnified and try to reset it back to 100%.

I hope this helps you.

Regards,
Stef
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Oscar
Top achievements
Rank 1
answered on 05 Dec 2013, 04:02 PM
Hello Stef.

Thanks for replying. I have tried with images with different resolutions but every time happen the same.
Here is some screenshots:

http://imageshack.us/f/189/qqtp.png/
http://imageshack.us/f/703/oktl.png/
http://imageshack.us/f/843/lcpi.png/

Also, I have tried on Firefox, Chrome and IE

Regards.
0
Nasko
Telerik team
answered on 10 Dec 2013, 01:27 PM
Hello Oscar,

The background image is probably set to the Report.Style.BackgroundImage property. Note that the report's style is applied only for the report area, which does not include the page sections. 
To make the background image cover the whole page, move the background image to the Report.PageSettings.BackgroundImage property.

Let us know whether the proposed solution helps. If you need additional assistance please open a support thread and send us the problematic report and image to review on our end.

Regards,
Nasko
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Franz
Top achievements
Rank 1
Iron
answered on 16 Jan 2021, 01:52 PM

Hello,

I have same problem with report viewer. I have a report that contains a subreport in the detailPage with a background image (Report.Style.BackgroundImage). When the report viewer is diplayed,  it seems all controls shrink to left and the background image keeps its size which generate a disalignment. But when i export the report to pdf, everything looks fine same as the designer view.

I attached three examples

1. using Report.PageSetting.BackgroundImage and Watermark for Subreport but doesnt display the image.

2. using Report.Style.BackgroundImage for subreport but there is disalignment

3. PDF example looks fine

Could you help me to solve the problem with this pls

Thanks

 

0
Eric R | Senior Technical Support Engineer
Telerik team
answered on 20 Jan 2021, 11:19 PM

Hi Franz,

Since the PDF output appears normal, this is likely due to the differences between the Logical and Physical Page rendering behaviors. See the Understanding Rendering Behaviors for more information.

An alternative approach to the existing design is to use the framework provided Table/Crosstab component instead of a background image. This component is designed to work across the different renderers.

Please let me know if you need any additional information. Thank you for using the Telerik Reporting forums.

Regards,


Eric R | Senior Technical Support Engineer
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Oscar
Top achievements
Rank 1
Answers by
Stef
Telerik team
Oscar
Top achievements
Rank 1
Nasko
Telerik team
Franz
Top achievements
Rank 1
Iron
Eric R | Senior Technical Support Engineer
Telerik team
Share this question
or