Solved

Reporting Services - Hide Print Icon on Toolbar

Posted on 2007-12-04
4
6,736 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
[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
  • 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

724 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