Last post Nov 06, 2008 11:19 PM by hkbeer
Member
738 Points
2365 Posts
Nov 06, 2008 10:42 PM|hkbeer|LINK
Suppose I have a webform that has a Gridview with a query - so it is a very standard ASP.net webform.
I want to put a button on it so that on button click, a PDF file containing content of this page (ie the Gridview) pops up.
How to do it ? I already installed the dll and have successfully generated a PDF using
Statement like this:-
document.Add(new Paragraph("Hello World"));
However, what I am after is to output a Gridview on a page or a full wbe page but I found no document on that.
Pls help. Thanks
Nov 06, 2008 11:19 PM|hkbeer|LINK
Is it I need to modify this code to something like:-
document.Add( [Output of the result of running X.aspx] );
How to write the code ?
Pls help.... or show some relevant document links pls... Thanks
Member
738 Points
2365 Posts
Use of iText to output whole Webpage to PDF
Nov 06, 2008 10:42 PM|hkbeer|LINK
Suppose I have a webform that has a Gridview with a query - so it is a very standard ASP.net webform.
I want to put a button on it so that on button click, a PDF file containing content of this page (ie the Gridview) pops up.
How to do it ? I already installed the dll and have successfully generated a PDF using
Statement like this:-
document.Add(new Paragraph("Hello World"));
However, what I am after is to output a Gridview on a page or a full wbe page but I found no document on that.
Pls help. Thanks
www.developerfusion.com/tools/convert/csharp-to-vb/
Member
738 Points
2365 Posts
Re: Use of iText to output whole Webpage to PDF
Nov 06, 2008 11:19 PM|hkbeer|LINK
Is it I need to modify this code to something like:-
document.Add( [Output of the result of running X.aspx] );
How to write the code ?
Pls help.... or show some relevant document links pls... Thanks
www.developerfusion.com/tools/convert/csharp-to-vb/