print and print preview problem in ie 11

Stimulsoft Reports.WEB discussion
Post Reply
kevin163
Posts: 27
Joined: Fri Oct 17, 2014 9:18 am

print and print preview problem in ie 11

Post by kevin163 »

when see a report with scrollbars on ,change the page to whole report.
in ie 11,can see the tables that display the data in each page are not same width.
but in html source code,the html table width is always fixed with 538pt,but the ie display the table width is not same.

if i add a css style
table,tr{display:block;}
then the ie display the same width.
but the print window i can't add the custom css

how can i add the css style to the print html code?

stimulsoft report web 2014.2
asp.net mvc 5 in visual studio 2013.1
ie 11
Attachments
report width error picture
report width error picture
reportWidth.JPG (683.01 KiB) Viewed 2004 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: print and print preview problem in ie 11

Post by Alex K. »

Hello,

It is not solution. In this case there are problems with alignment.
As a way you can use the following option:
StiOptions.Export.Html.UseStrictTableCellSize = true;
Also please check the last version.

Thank you.
kevin163
Posts: 27
Joined: Fri Oct 17, 2014 9:18 am

Re: print and print preview problem in ie 11

Post by kevin163 »

Thanks for reply.
it is not work!
the StiOptions.Export.Html.UseStrictTableCellSize's default value in 2014.2 is true.
maybe should add the tableLayout="fixed" to the table's style when table cell size is strict
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: print and print preview problem in ie 11

Post by HighAley »

Hello.

Please, send a sample project which reproduce the issue.

Thank you.
Post Reply