Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How to print asp.net gridview data on button click without calling printer dialog box? I mean when click on print button,without redirecting to printer dialog box,directly get a print from printer...
Posted
Updated 17-Oct-14 3:42am
v2

You cannot. This is default behaviour. You have to g through browser.
 
Share this answer
 
The print dialog appears before printing the document. For details refer the following link:

http://www.c-sharpcorner.com/UploadFile/0a9ce9/printing-in-gridview-only-in-Asp-Net/[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900