[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

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

Invoke Print and Export to PDF functionality from ASP.Net button

I have an asp.net (visual studio 2010) page showing a report in the Crystal Reports viewer.  I am not showing the toolbar on this report so want to add two buttons to the page; "Export to PDF" and "Print".

How can this be done?
0
canuckconsulting
Asked:
canuckconsulting
  • 2
1 Solution
 
canuckconsultingAuthor Commented:
This works great but it would be better to prompt the user for a printer.  Is this possible?
0
 
canuckconsultingAuthor Commented:
Worked great though could not select printer.  In the end I exported the report to stream (ExportToStream()) which I sent back in the http response.  This let the user then open, save the file and print as desired.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

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