Link to home
Start Free TrialLog in
Avatar of bengelhart
bengelhart

asked on

SSRS Report Viewer Has No Print Button

I have a SSRS report that works like a charm, only there is no print button on the report viewer control!!!!  I have been reading in forums and I have seen anything from it can't be done to you need to write a custom print function and then I also read that you have to be processing your report in "remote" mode to get the print button (of course when I do that you can't get my report to render!).  Anyone have any advice for me?  I have used this reporting in windows development with no problems at all, only in a Web environment am I getting these headaches.
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

There should be a <Print> button on the ReportViewer, so check that ShowPrintButton = True.

Bob
Avatar of bengelhart
bengelhart

ASKER

Yes there is an option for it, and it is set to true.   The only time it shows (in design mode) is when I switch to "remote" processing of the report viewer properties.   I am however running locally, hence no print button.  In Windows Forms this isn't an issue, just in Web Apparently.  
Hmmm...I have a ReportViewer with a local report set, and I see the <Print> button.

Bob
ReportViewer-Local-Report.png
You are using a report server though.  (file type of "rdl")  If it was running truly locally it would be a "rdlc" report.  
If you are using ASP.NET, then you should be using a .rdl file, with the ASP.NET ReportViewer.  .rdlc files are for the WinForms ReportViewer.

Bob
when I go to add the report in in automatically creates it as a rdlc.  Am I doing something wrong?
Are you using a Business Intelligence Project, or just a web site solution?

Bob
web site solution
Try creating a Business Intelligence Project, because it will help you create reports that you can use in your web site solution.

Bob
No kidding.  Alright I will give that a try.  Thanks.
If you don't see the template, the screen shot should show you where it is.

Bob
Business-Intelligence-Projects-T.png
Tried it and it didn't work.  When I create the reports through the business intelligence it runs fine there, but the reports aren't even recognized when I bring them over to my web application.  The more I have read on this the more it looks like I would have to use remote processing.
>>but the reports aren't even recognized when I bring them over to my web application

What type of web application (Web site model, Web application model, ...)?  What does "not recognized" mean?

Bob
It is a web application.  Not recognized meaning you can't assign the rdl file to the report viewer.  It only recognizes rdlc files.
Which toolbox did you get the ReportViewer from?  What is from the Web toolbox?

Bob
ASKER CERTIFIED SOLUTION
Avatar of ustes
ustes
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial