Solved

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

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now