Solved

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

Posted on 2008-10-13
5
1,777 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

756 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