Please, try to change last line of your code to the next one:
Code: Select all
StiReportResponse.ResponseAsPdf(this.Page, report, false);
Code: Select all
StiReportResponse.ResponseAsPdf(this.Page, report, false);
Could you describe more detailed?prajan wrote:I tried it, but its not working.
Please let me know if there is something else that I might be missing.
Code: Select all
//report.IsRendered = false;
//StiReportResponse.ResponseAsPdf(this.Page, report, true);
Code: Select all
StiReport report = CreateReport2();
report.Render(false);
StiReportResponse.ResponseAsPdf(this.Page, report, false);