Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1883
  • Last Modified:

Crsytal report from c# to a new web tab or new window with ExportToHttpResponse

How do you export a crsytal report from c# to a new web tab or new window with ExportToHttpResponse
0
kibon
Asked:
kibon
  • 2
1 Solution
 
furrybootsistheanswerCommented:
Try setting the attachment argument to True (below exports to pdf with a filename of AttachmentName).

reportDocument.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, True, "AttachmentName");
0
 
kibonAuthor Commented:
Setting the attachment argument is to allow the user to download and save the report not to direct it to another page.

I concocted a solution which is to save report display information is the Session, open a new page that is an empty aspx for which that code behind aspx.sc gets the information from the Session and displays the report.
0
 
kibonAuthor Commented:
Setting the attachment argument is to allow the user to download and save the report not to direct it to another page.

I concocted a solution which is to save report display information is the Session, open a new page that is an empty aspx for which that code behind aspx.sc gets the information from the Session and displays the report.
0
 
Computer101Commented:
PAQed with points refunded (125)

Computer101
EE Admin
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now