Solved

Reporting Services - Hide Print Icon on Toolbar

Posted on 2007-12-04
4
6,659 Views
Last Modified: 2010-06-04
Hello all -

reporting services 2005:

Assuming we have zero access to the production reporting server, is there a simple way to hide the print icon in the reporting services toolbar without having to hide the entire toolbar?

I found a solution where it can be hidden with a custom .css file, but that file must be placed on the report server (we cannot access the production report server directly)

I also found that the reportviewer control is supposed to have the following property:
ShowPrintButton = true/false;
But we are accessing the report viewer control as follows in our .aspx pages, and this property is not available  in the code behind:

Referencing it like this:
<%@ Register TagPrefix="cc1" Namespace="Microsoft.Samples.ReportingServices" Assembly="ReportViewer" %>

and using it like this:
<cc1:ReportViewer id="RptViewer" runat="server" Width="100%" Height="100%" Toolbar="True" Parameters="true"></cc1:ReportViewer>

but in the code behind, RptViewer.xxxxxx  has no property for ShowPrintButton

any ideas on how to hide the print button given the above description of our issue?



0
Comment
Question by:friskyweasel
  • 2
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
SQL_SERVER_DBA earned 500 total points
ID: 20404161
0
 
LVL 16

Assisted Solution

by:SQL_SERVER_DBA
SQL_SERVER_DBA earned 500 total points
ID: 20404287
Also, here is Configuring Reportviewer toolbar
http://msdn2.microsoft.com/en-us/library/ms251670(VS.80).aspx
0
 

Author Comment

by:friskyweasel
ID: 20404366
hi sql server dba, and thanks for the responses...

i think that your solution would work for the first part of my question (hiding the print icon), but unfortunately not for the second part of my question "without having to hide the entire toolbar"

what i need to be able to do is hide only the print icon, but show the toolbar with all other features

0
 

Author Comment

by:friskyweasel
ID: 20589531
although this doesn't solve my exact problem (hiding the print icon without hiding the entire toolbar), i think SQL_SERVER_DBA's response could still help someone else out if they need to hide the entire toolbar

thanks for the responses
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Compare data between two databases 16 110
PERFORMANCE OF SQL QUERY 13 76
user defined date datatype in SQL Server- can it be overdone.. 6 35
date diff with Fiscal Calendar 4 57
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
Hi, I am very much excited today since I'm going to share something very exciting Tool used for Analytical Reporting and that's nothing but MICROSTRATEGY. Actually there are lot of other tools available in the market for Reporting Such as Co…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 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