Solved

Avoid some text from printing in 'Print' menu of browser

Posted on 2008-06-10
1
159 Views
Last Modified: 2013-11-26
I am creating a web page which will have link buttons on it. For printing this web page, I will be using the inbuilt 'Print' option of Internet Explorer. Now I dont want these link buttons's text to be printed. So is there any way I can do that?  
0
Comment
Question by:ShreyaTrivedi
1 Comment
 
LVL 14

Accepted Solution

by:
Dustin Hopkins earned 500 total points
ID: 21756566
Here is a quick resource...http://aspnetresources.com/articles/printer_friendly.aspx
you could make a css class
<STYLE type="text/css" media="print">
   .hidePrint {     visibility:hidden;   display:none;}
 </STYLE>
then apply that css class to the elements you want to hide.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Service to Receive TCP Packets 4 117
Error in page 3 44
In WPF / C# binding a local database in code behind 1 24
Replace &lt; with < 14 54
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

930 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now