Justifying Report on web page
Justifying Report on web page
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
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
Please use property ContentAlignment of StiWebViewer.
Thank you.
Thank you.
Justifying Report on web page
as in where?
StiWebViewer1. ??? . ??? = ????
Lena
StiWebViewer1. ??? . ??? = ????
Lena
Justifying Report on web page
Code: Select all
StiWebViewer1.ContentAlignment = StiContentAlignment.Left;
StiWebViewer1.ScrollBarsMode = false;
StiWebViewer1.ShowPageBorders = false;
Justifying Report on web page
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.
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
Please add to start of your code:
Thank you.
Code: Select all
using Stimulsoft.Report.Web;