?
Solved

Reporting Services - Hide Print Icon on Toolbar

Posted on 2007-12-04
4
Medium Priority
?
6,805 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 2000 total points
ID: 20404161
0
 
LVL 16

Assisted Solution

by:SQL_SERVER_DBA
SQL_SERVER_DBA earned 2000 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 Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hi, In my previous Article  (http://www.experts-exchange.com/Database/Reporting/A_15199-Introduction-to-Microstrategy.html)I discussed some basic understanding of Microstrategy that how we can get in Intro of Microstrategy (MSTR). Now it's tim…
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.
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

771 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