?
Solved

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

Posted on 2008-10-13
5
Medium Priority
?
1,830 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
Suggested Courses

800 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