Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Show print dialog box and allow user to choose printer - SSRS 2008

Posted on 2013-06-14
4
Medium Priority
?
1,547 Views
Last Modified: 2013-06-24
On my asp.net web page, I have a print button. It pops up another window which has an SSRS report generated. On top of the report, i would like to popup a print dialog box allowing the user to chose the printer. Please suggest. Thanks in advance.
0
Comment
Question by:cimscims
  • 3
4 Comments
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39249872
You could consider using the ReportViewer control (if you aren't already).  That ships with a built-in toolbar which contains several functions, including a print button that does exactly what you're looking for.

See Reporting Services and ReportViewer Controls in Visual Studio
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39249876
Here's a more up-to-date link: ReportViewer Controls (Visual Studio 2012)
0
 

Author Comment

by:cimscims
ID: 39250731
I don't want to use the reportviewer's print button. I'm showing a popup window which has a ssrs report viewer control on it. I want to show the print dialog on top of the report's window.
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 1500 total points
ID: 39252248
So you actually want to invoke the print functionality without the user clicking the button.  I'm not sure how you would do that, if possible at all.

The following page may be interesting to have a look at though (if you haven't already): Walkthrough: Printing a Local Report without Preview

It contains some useful code which you'd need to actually print the report.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Loops Section Overview
Suggested Courses

926 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