Advertisement

05.13.2008 at 01:36PM PDT, ID: 23399361
[x]
Attachment Details

Hide image for printing within Sharepoint

Asked by geneld in JavaScript, Programming for ASP.NET, MOSS-Sharepoint

Tags: aspx, IE 6

I'm trying to hide an image when I print a SharePoint List item.  I've updated the aspx page to handle recieving a parameter via the URL and evaluating it to hide several things within the webpart using conditional formating, but there is one image outside the webpart that I also need to hide.

So what I think I need to do is write a simple script to handle the Print parameter passed from the URL and if it equals P, hide the code referenced in the attached snippet.

I'm open to other suggestions for how to do this within SharePoint as well.

Thanks,
Dan

Start Free Trial
1:
2:
3:
<asp:Content id="Content2" runat="server" contentplaceholderid="Logo">
<img alt= "Logo"  src="../../images/logo.gif" width="236" height="84" id="img1"> 
</asp:Content>
[+][-]05.13.2008 at 03:28PM PDT, ID: 21559837

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: JavaScript, Programming for ASP.NET, MOSS-Sharepoint
Tags: aspx, IE 6
Sign Up Now!
Solution Provided By: rlively
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.14.2008 at 03:31AM PDT, ID: 21562610

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 06:33AM PDT, ID: 21563938

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 07:02AM PDT, ID: 21564277

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 08:18AM PDT, ID: 21565154

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 09:59AM PDT, ID: 21566266

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 02:10PM PDT, ID: 21568766

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.15.2008 at 02:38AM PDT, ID: 21571823

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628