stiWebViewer cuts off right side of report
Posted: Mon Jul 16, 2012 5:14 pm
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
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