Converting a report
Converting a report
Hi,
I have a stiwebreport. I want to save that on computer as pdf(currently its showing through stiwebviewer). And also please can anybody tell how to convert stiwebreport into simple stireport.
Thanks,
Amritpal
I have a stiwebreport. I want to save that on computer as pdf(currently its showing through stiwebviewer). And also please can anybody tell how to convert stiwebreport into simple stireport.
Thanks,
Amritpal
Converting a report
Hello,
StiReport report = webReport.GetReport();
Thank you.
You can use StiReportResponse.ResponseAsPdf(Page, report, true);amritpal wrote:I have a stiwebreport. I want to save that on computer as pdf(currently its showing through stiwebviewer).
StiWebReport webReport;amritpal wrote:And also please can anybody tell how to convert stiwebreport into simple stireport.
StiReport report = webReport.GetReport();
Thank you.
Converting a report
Thanks Aleksey.
But that is opening a popup window to customer. But I want to save that without telling to customer and after that want to mail to him the report.
Please tell me the solution for this.
Thanks in advance,
Amritpal
But that is opening a popup window to customer. But I want to save that without telling to customer and after that want to mail to him the report.
Please tell me the solution for this.
Thanks in advance,
Amritpal
Converting a report
Hello,
You can use the following method:
Then this Memory Stream can be sent by e-mail.
Thank you.
You can use the following method:
Code: Select all
MemoryStream stream = new MemoryStream();
StiPdfExportSettings settings = new StiPdfExportSettings();
StiPdfExportService export = new StiPdfExportService();
export.ExportPdf(report, stream, settings);
Thank you.
Converting a report
Hi,
I already did that, but it gives the following error:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
I already did that, but it gives the following error:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Converting a report
Hello,
We need some time for check this issue.
Thank you.
We need some time for check this issue.
Thank you.
Converting a report
Hi,
Ok. But please do answer to this query.
Thanks
Ok. But please do answer to this query.
Thanks
Converting a report
Hello,
We couldn't reproduce this bug.
Please send us your .MRT file with database for analysis on support@stimulsoft.com. Or can you please send us a simple test application, which reproduce the issue?
Thank you.
We couldn't reproduce this bug.
Please send us your .MRT file with database for analysis on support@stimulsoft.com. Or can you please send us a simple test application, which reproduce the issue?
Thank you.
Converting a report
HI Team,
Thanks for your contribution. I solved the issue myself.
Thanks.
Amritpal
Thanks for your contribution. I solved the issue myself.
Thanks.
Amritpal
Converting a report
Hello,
Ok! Let us know if you have some additional questions.
Thank you.
Ok! Let us know if you have some additional questions.
Thank you.