Solved

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

Posted on 2013-06-14
4
1,432 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
[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
  • 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WPF and Powershell button hover change text 5 63
Access-Control-Allow-Origin 4 46
Read top line from CSV file 14 60
HIghlights of SSIS? 3 45
A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

752 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