stiWebViewer cuts off right side of report

Stimulsoft Reports.NET discussion
Post Reply
mzack
Posts: 2
Joined: Wed Mar 16, 2011 10:26 am
Location: USA

stiWebViewer cuts off right side of report

Post by mzack »

Good day,

We are in the process of moving our web application from our current hosting provider (IIS 6) to a new hosting provider (IIS 7.5).

Version 2011.1.1000 was deployed with IIS 6 and working. When we copied the application to the new hosting provider, we experienced trouble using AJAX with stiWebViewer, so we deployed version 2012.1.1300 to the new web site. This solved the AJAX problem. However, these versions apparently render reports differently.

With the old version, stiWebViewer ignored the html page width and always rendered a full width report page. With the new version, stiWebViewer apparently honors the html page width and cuts off the right side of the report. So far I've not been able to find an acceptable solution. We're in the USA so all of our reports are designed to fit letter size (8.5 " x 11") paper. Some reports are rendered in portrait orientation while others are rendered landscape.

I'm setting the ContentAlogment to Left (0) to eliminate any wasted space. If I specify an html division width large enough to render a landscape report, say 150%, the portrait reports are are rendered with two pages across (Whole report), with the second page cut off somewhere before the right edge of that page. This also occurs if the display size is set to a small percentage on the report tool bar.

Is there a way to configure stiWebViewer to always render reports with left content alignment and always show a complete page, with only one page across, regardless of the report width and selected display percent? In other words, is there a way to make stiWebViewer behave like the older version?

Thank you

Mike
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: stiWebViewer cuts off right side of report

Post by HighAley »

Hello.

Our new StiWebViewer was completely redeveloped. Now it fill out parent component.
There were several improvement in our following prerelease builds. So you should use the latest build.
Try to set viewer's width and height to 100%.

Thank you.
Post Reply