Stimulsoft options functionality
Stimulsoft options functionality
Hello ,
i need to know if i can use the functionality of print option, export options and select previous and next pages?what i mean i have some buttons in my screen for example: print screen >> must print the report by use same functionality of print option in stimulsoft and same as for export and pages . is there any way to do that
thank you,
i need to know if i can use the functionality of print option, export options and select previous and next pages?what i mean i have some buttons in my screen for example: print screen >> must print the report by use same functionality of print option in stimulsoft and same as for export and pages . is there any way to do that
thank you,
Re: Stimulsoft options functionality
Hello,
what i mean use same functionality of report viewer but by code
i'm trying all of these code but the report not export
and i don't know where the problem in my code
1.Dim Report As StiReport = New StiReport()
Report.Load("report.mrt")
Report.Render()
Report.SaveDocument("document.pdf")
2. Dim pdfSettings as StiPdfExportSettings = new StiPdfExportSettings()
report.ExportDocument(StiExportFormat.Pdf, "MyReport.Pdf", pdfSettings)
3. Dim service As StiPdfExportService = new StiPdfExportService()
Dim settings as StiPdfExportSettings = new StiPdfExportSettings()
Dim stream as MemoryStream= new MemoryStream()
service.ExportPdf(report, stream, settings)
what i mean use same functionality of report viewer but by code
i'm trying all of these code but the report not export

1.Dim Report As StiReport = New StiReport()
Report.Load("report.mrt")
Report.Render()
Report.SaveDocument("document.pdf")
2. Dim pdfSettings as StiPdfExportSettings = new StiPdfExportSettings()
report.ExportDocument(StiExportFormat.Pdf, "MyReport.Pdf", pdfSettings)
3. Dim service As StiPdfExportService = new StiPdfExportService()
Dim settings as StiPdfExportSettings = new StiPdfExportSettings()
Dim stream as MemoryStream= new MemoryStream()
service.ExportPdf(report, stream, settings)
Re: Stimulsoft options functionality
Hello.
Could you describe your issue more detailed?
Do you get any error?
Thank you.
Could you describe your issue more detailed?
Do you get any error?
Thank you.
Re: Stimulsoft options functionality
no there is no error but when click export to pdf it's saved in specific path without show to me in browser that there is something download and i'm using chrome browser! also when open the saved pdf it's contain 1 empty page !
- Attachments
-
- HeadCountByAverageIncome.pdf
- (6.58 KiB) Downloaded 326 times
Re: Stimulsoft options functionality
thank you but i'm tried to use this class but it take long time on this line exactly in Stimulsoft.Report.Web.StiReportResponse.ResponseAsPdf(this, report)
Re: Stimulsoft options functionality
Hello.
Maybe you have too large report?
You can use other methods to export report to Stream. Then you should return it to client.
Thank you.
Maybe you have too large report?
You can use other methods to export report to Stream. Then you should return it to client.
Thank you.