Page 1 of 1

Directly to a PDF output in asp.net

Posted: Sun Jun 11, 2006 4:22 am
by Tom
Hello!

When displaying a report in a browser is it
Possible to go directly to a PDF output and
bypass the Stimulsoft viewer?

Thanks.

Directly to a PDF output in asp.net

Posted: Mon Jun 12, 2006 4:04 am
by Edward
For exporting report to pdf file without using dialog box and StimulSoft preview please do the following:

StiReport report = new StiReport();
report.Load("report.mrt");
report.Render();
StiReportResponse.ResponseAsPdf(this, report);