Printer-friendly page

  • Thread starter Thread starter Nat
  • Start date Start date
N

Nat

I am a newbee in C# and .NET.

I have created a template witn MCMS using c# .NET. I have
created a print button on the page, but I don't want to
print what you see on the screent, I only want to print
the text that are in some specifick placeholders in the
template.

Any ideas as how to write that code in C#

It would also be nice if a new window opend with the text
that are to be printed.

Thanks
 
Nat,

Is this a windows forms application? If that is the case, then I would
make the printable part be part of a separate control and then print the
contents of that control (or make any control that can go in there implement
an interface that will allow it to perform printing, with you passing the
printing surface).

Hope this helps.
 
Back
Top