ASP.NET - print button - Asked By hiren dhameliya on 22-Apr-10 06:28 AM

Hi
 give me print dialoag box for print.
 in my application when i press print buttion
open print button
Anoop S replied to hiren dhameliya on 22-Apr-10 06:38 AM
go through this examples

http://www.codeproject.com/KB/printing/simpleprintingcs.aspx

http://www.c-sharpcorner.com/uploadfile/mgold/pritingincsharp11222005040630am/pritingincsharp.aspx
Sasha Kotlo replied to hiren dhameliya on 23-Apr-10 06:05 AM
its really easy to print a page using a simple link on a page. Write the following:

<a href="javascript:window.print()">Print Page</a>

When you click this link in your browser a print page will open. You might also be interested in using a separate .CSS file for printing pages. You can find a simple sample by reading a following article: http://www.alistapart.com/articles/goingtoprint/