Solved

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

Posted on 2008-10-13
5
1,744 Views
Last Modified: 2008-11-15
How do you export a crsytal report from c# to a new web tab or new window with ExportToHttpResponse
0
Comment
Question by:kibon
  • 2
5 Comments
 
LVL 3

Expert Comment

by:furrybootsistheanswer
ID: 22708736
Try setting the attachment argument to True (below exports to pdf with a filename of AttachmentName).

reportDocument.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, True, "AttachmentName");
0
 

Author Comment

by:kibon
ID: 22715218
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
 

Author Comment

by:kibon
ID: 22715226
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
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 22967580
PAQed with points refunded (125)

Computer101
EE Admin
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Search on a site 5 104
Crystal Report GH Suppress Formula not acting as expected 10 34
Date Formula: Last business day - 2 of prior month 12 54
Exclude some records from totals 10 57
Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question