PDA

View Full Version : PDF Export



methode
Jan 02, 2009, 10:15 AM
Hi all,

based on this example:

http://examples1.ext.net/#/GridPanel/Miscellaneous/Export_Data_Ajax/

I added a PDF export button to generate a PDF file rendering the grid. I used iTextSharp open source library.
See file in attachment.

Pdf library:
http://sourceforge.net/projects/itextsharp/

Link to codeproject.com usefull article:
http://www.codeproject.com/KB/cs/iTextSharpPdfTables.aspx

Matteo

geoffrey.mcgill
Jan 02, 2009, 11:49 AM
cool. Thanks for sharing!

bsnezw
Aug 11, 2009, 1:22 PM
I'd like to try this but when clicking on Default.aspx it shows a XML error. Is there someplace else I can download it from?

Thanks~

geoffrey.mcgill
Aug 11, 2009, 4:58 PM
I'd like to try this but when clicking on Default.aspx it shows a XML error. Is there someplace else I can download it from?

I get the exception as well, but if you right-click on link and select "Save As" it will download properly. crappy forum software is crappy. We'll be moving to a different forum system later this year.

bsnezw
Aug 11, 2009, 5:05 PM
I was able to use a combination of the grid sample listed and the following web site:

http://www.mikesdotnetting.com/Category/20 to figure it out. Extremely easy and great idea using iTextSharp.

geoffrey.mcgill
Aug 11, 2009, 5:06 PM
bsnezw (8/11/2009)I was able to use a combination of the grid sample listed and the following web site:

http://www.mikesdotnetting.com/Category/20 to figure it out. Extremely easy and great idea using iTextSharp.

Cool. Thanks for the update.

shenji
Sep 25, 2009, 5:22 AM
3Q forsharing