Page 1 of 1

StiWebViewer Control Print Issue

Posted: Tue Jan 25, 2011 5:31 am
by Houssam Hamdan
In order to explain what is happening, please follow the below steps:

1- Open the StimulReportWebDemo2005 project that comes with the installation setup file.
2- Open C:\Program Files (x86)\Stimulsoft Reports.Net 2010.1\Bin\Data\Open.xml file
3- Modify one of the Include large string here tags inside a tag where you include large string value.
4- Run the aforementioned project
5- Click the print without preview menu item to send the command towards the printer.

The problem is that the StiWebViewer Control toolbar displays 1 of 3 pages meaning that we are requesting 3 pages from the printer. Unfortunately, when certain data field contains large data, we are getting 4 pages from the printer, the footer "page 1 of 3" is being displayed on the second paper instead of displaying page 1 of 4 on the first and 2 of 4 on the second ... 4 of 4.

Your prompt help would be highly appreciated.

Cheers and Regards,

StiWebViewer Control Print Issue

Posted: Tue Jan 25, 2011 5:34 am
by Houssam Hamdan
I have to rectify the second point:

The correct file name to be opened is C:\Program Files (x86)\Stimulsoft Reports.Net 2010.1\Bin\Data\Demo.xml file.

Sorry for any inconveniences.

Regards,

StiWebViewer Control Print Issue

Posted: Wed Jan 26, 2011 1:12 am
by Alex K.
Hello,

For correct printing, set for this element (Text2) the CanGrow property to true.
This problem occurs because of the peculiarities of displaying in HTML. Even if a component of the text should not be included, this property on the page will display the entire text with stretching a text component.

Thank you.