StiWebViewer Control Print Issue

Stimulsoft Reports.WEB discussion
Post Reply
Houssam Hamdan
Posts: 33
Joined: Fri Aug 20, 2010 3:46 am
Location: Lebanon - Beirut

StiWebViewer Control Print Issue

Post 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,
Houssam Hamdan
Posts: 33
Joined: Fri Aug 20, 2010 3:46 am
Location: Lebanon - Beirut

StiWebViewer Control Print Issue

Post 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,
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

StiWebViewer Control Print Issue

Post 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.
Post Reply