The easiest approach would be to create a print css style sheet, so
everything but your control was efectively stripped at print time.
Alternatively, launch a new window at print and pass it the innerhtml or DIV
text extracted using html dom that that user control outputs and print that.
Regards
John Timney (MVP)
http://www.johntimney.com http://www.johntimney.com/blog
<pe********@gmail.comwrote in message
news:11*********************@j27g2000cwj.googlegro ups.com...
Hi,
I have a web user control on a page which has some data fields, few
tables etc.
I would like to put a button on the web user control which would allow
me to print only that.
Is there any simple solution I could use?
Thanks