A
Alan Ho
Thanks...
Nicholas Paldino said:Alan,
You won't use C# code to do this. Rather, you have to attach an event
handler in javascript for the button and trigger a print of the document
(through the print method on the window object, I believe). Once the print
dialog comes up, they can choose to preview it.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Alan Ho said:Thanks...
Alan Ho said:sorry...can u show me some example code..
thx
Nicholas Paldino said:Alan,
You won't use C# code to do this. Rather, you have to attach an
event
handler in javascript for the button and trigger a print of the document
(through the print method on the window object, I believe). Once the print
dialog comes up, they can choose to preview it.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Alan Ho said:Thanks...