Page 1 of 1
Justifying Report on web page
Posted: Tue Apr 24, 2007 9:43 am
by LenaB
Hi
All the reports show up centered on a web page viewer.
My boss doesn't like that.
How do I get the report to start at the top of the page at all times in the viewer?
Lena
Justifying Report on web page
Posted: Tue Apr 24, 2007 5:02 pm
by Vital
Please use property ContentAlignment of StiWebViewer.
Thank you.
Justifying Report on web page
Posted: Thu Apr 26, 2007 4:52 pm
by LenaB
as in where?
StiWebViewer1. ??? . ??? = ????
Lena
Justifying Report on web page
Posted: Thu Apr 26, 2007 5:17 pm
by Vital
Code: Select all
StiWebViewer1.ContentAlignment = StiContentAlignment.Left;
StiWebViewer1.ScrollBarsMode = false;
StiWebViewer1.ShowPageBorders = false;
Justifying Report on web page
Posted: Thu Apr 26, 2007 7:01 pm
by LenaB
When I tried that I get
C:\QCSystem\QCtrans2\OutStandRep2.aspx.vb(380): 'ContentAlignment' is not a member of 'Stimulsoft.Report.Web.StiWebViewer'.
and
C:\QCSystem\QCtrans2\OutStandRep2.aspx.vb(380): Name 'StiContentAlignment' is not declared.
Justifying Report on web page
Posted: Fri Apr 27, 2007 2:06 pm
by Vital
Please add to start of your code:
Thank you.