views:

165

answers:

1

is there a simple way to put a print button on an asp.net page which, instead of printing the entire page, will print only a couple of fields?

+9  A: 

It what you want is this to be the case whenever the page prints, you could add another stylesheet with a media="print" attribute and in that stylesheet, hide every field apart from the two you care about.

Paddy