Print the content of a datagrid

giovedì 03 novembre 2005 - 15.15

hannibal73 Profilo | Newbie

I 'd like to print the content of a datagrid choosing a printer client by classic window.
How I can print a web page?
How I can do it?
thank you very much

arresto Profilo | Junior Member

In the simplest case you can use the classic javascript command window.print() which determine the open of your machine print dialog, but in this case if the datagrid has an high number of row or you have choose to use a pager you cannot diplay all the rows. I think it's better, but more difficult, to convert the web page ia a pdf document and print it. On the web you can find a lot of wrapper for pdf.
See you soon Ar(p)resto.

Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?

Dopo esserti registrato potrai chiedere
aiuto sul nostro Forum oppure aiutare gli altri

Consulta le Stanze disponibili.

Registrati ora !
Copyright © 2002-2023
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5