Microsoft Content Management Server - Is it possible to print just the content of one placeholder?

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > February 2004 > Is it possible to print just the content of one placeholder?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Is it possible to print just the content of one placeholder?
Hrvoje Vrbanc

2004-02-05, 10:35 pm

A simple question: is it possible to print, when a button on a page is
clicked, just a content of a specific placeholder on a page?
Seems to me that it would be an easy solution for "printable format"
documents....

Thank you!

Hrvoje


Stefan [MSFT]

2004-02-06, 12:38 am

Hi Hrvoje,

this would require to open a new IE window with only this content in as the
IE print function always prints the whole page.
You would have to create such code if you like.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Hrvoje Vrbanc" <hrvojev@recro.hr> wrote in message
news:edyawLK7DHA.3360@tk2msftngp13.phx.gbl...
> A simple question: is it possible to print, when a button on a page is
> clicked, just a content of a specific placeholder on a page?
> Seems to me that it would be an easy solution for "printable format"
> documents....
>
> Thank you!
>
> Hrvoje
>
>



John Boghossian

2004-02-06, 2:39 am

If your web clients are running a consistent environment, IE, you could
also have a look at the @media tag for stylessheets.

Add this to your stylesheet
@media screen {
.noscreen {display:none;}
}
@media print {
.noprint {display:none;}
.onprint {display:inline;}
}

and the you can set the class of elements as needed to either noscreen or
noprint

regards
John Boghossian

"Hrvoje Vrbanc" <hrvojev@recro.hr> wrote in message
news:edyawLK7DHA.3360@tk2msftngp13.phx.gbl...
> A simple question: is it possible to print, when a button on a page is
> clicked, just a content of a specific placeholder on a page?
> Seems to me that it would be an easy solution for "printable format"
> documents....
>
> Thank you!
>
> Hrvoje
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com