Solved

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

Posted on 2013-06-14
4
1,369 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 500 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error on Add method 1 38
SQL Login 17 40
Ajax Panel Not Updating When Triggered By Timer 4 44
SSRS List box paramaters showing duplicate choices 2 15
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
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.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

895 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

13 Experts available now in Live!

Get 1:1 Help Now