<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Data Presentation Controls</title><link>http://forums.asp.net/24.aspx</link><description>ASP.NET data-bound controls such as the DataGrid, DataList, GridView, FormView, DetailsView, and Repeater Controls.  &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=23&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2575902.aspx</link><pubDate>Sat, 23 Aug 2008 07:35:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2575902</guid><dc:creator>karanpaul</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2575902.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2575902</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;hi Quin Dian Tang,&lt;strong&gt;,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Thanks a lot for help in conversion to pdf.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Did u get solution for the&amp;nbsp; the following&amp;nbsp; doubt :&lt;/p&gt;
&lt;p&gt;&amp;quot;This code opens de PDF document in a window. What do i have to do to &amp;quot;save the document&amp;quot; automatically to the client? (i mean asking the user if he wants to save, etc)&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;if at all ur success with that can u please help me out&lt;/p&gt;
&lt;p&gt;Thanks &lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2505925.aspx</link><pubDate>Tue, 22 Jul 2008 13:28:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2505925</guid><dc:creator>RutuPrash</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2505925.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2505925</wfw:commentRss><description>&lt;p&gt;Hi WOP_NUNO,&lt;/p&gt;&lt;p&gt;I am too stuck on export gridview to PDF. can u pl post ur relevant code of exporting gridview to pdf . Well I have used some of ur code but still something is missing so pl post ur working code. that will really help me my project work going on.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Prashant V.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2418466.aspx</link><pubDate>Thu, 12 Jun 2008 09:18:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2418466</guid><dc:creator>wop_nuno</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2418466.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2418466</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Quin Dian Tang,&lt;/p&gt;&lt;p&gt;It&amp;#39;s now working. Thanks for all you&amp;#39;re help!!!&lt;/p&gt;&lt;p&gt;Thanks very much.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Nuno&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2417764.aspx</link><pubDate>Thu, 12 Jun 2008 03:10:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2417764</guid><dc:creator>Qin Dian Tang - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2417764.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2417764</wfw:commentRss><description>&lt;p&gt;Hi wop_nuno,&lt;/p&gt;
&lt;p&gt;Add this line: &lt;/p&gt;
&lt;p&gt;HttpContext.Current.Response.AddHeader(&amp;quot;Content-Disposition&amp;quot;, &amp;quot;attachment;FileName=&amp;quot; + &lt;em&gt;&lt;strong&gt;filename&lt;/strong&gt;&lt;/em&gt; + &amp;quot;.pdf&amp;quot;)&lt;/p&gt;
&lt;p&gt;You have to give the file name (string).&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2416045.aspx</link><pubDate>Wed, 11 Jun 2008 12:16:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2416045</guid><dc:creator>wop_nuno</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2416045.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2416045</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi all,&lt;/p&gt;&lt;p&gt;I&amp;#39;ve found a way to get this working. I have to add two things.&lt;/p&gt;&lt;p&gt;First this code:&lt;/p&gt;The code for the VerifyRenderingInServerForm is just this:&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Public Overrides Sub VerifyRenderingInServerForm(ByVal control As Control)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/p&gt;&lt;p&gt;Second:&amp;nbsp; i had to EnableEventValidation = &amp;quot;false&amp;quot;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now i have one more question:&amp;nbsp;&lt;/p&gt;&lt;p&gt;1)
This code opens de PDF document in a window. What do i have to do to
&amp;quot;save the document&amp;quot; automatically to the client? (i mean asking the
user if he wants to save, etc)&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2415766.aspx</link><pubDate>Wed, 11 Jun 2008 10:28:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2415766</guid><dc:creator>wop_nuno</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2415766.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2415766</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;I&amp;#39;ve added the namespace&amp;nbsp; but i still getone error. My code is this:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;i&gt;&lt;b&gt;Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Get the HTML from GridView1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim sw As New IO.StringWriter()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim htw As New HtmlTextWriter(sw)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GridView1.RenderControl(htw)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim html As String = &amp;quot;&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;&amp;quot; + sw.ToString() + &amp;quot;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&amp;quot;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Set up the response&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Clear()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.ContentType = &amp;quot;application/pdf&amp;quot;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Create pdf document&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim document As New iTextSharp.text.Document(PageSize.A4, 80, 50, 30, 65)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Create pdf writer, output directly to OutputStream&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim writer As iTextSharp.text.pdf.PdfWriter = PdfWriter.GetInstance(document, Response.OutputStream)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Document.Open()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Create tempfile to hold the HTML:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim tempFile As String = Path.GetTempFileName()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using tempwriter As New IO.StreamWriter(tempFile, False)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tempwriter.Write(html)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Using&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Parse the HTML into the document&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HtmlParser.Parse(Document, tempFile)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Cleanup&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Document.Close()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; writer.Close()&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Delete the tempfile:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File.Delete(tempFile)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; writer = Nothing&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Document = Nothing&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.[End]()&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; End Sub&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;br /&gt; &lt;/b&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;The error is this: &lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2&gt;&lt;i&gt;&lt;i&gt;Control &amp;#39;GridView1&amp;#39; of type &amp;#39;GridView&amp;#39; must be placed inside a form tag with runat=server.&lt;/i&gt;&lt;/i&gt;&lt;/h2&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;On this&amp;nbsp; line &lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;pre&gt;&lt;font color="red"&gt;GridView1.RenderControl(htw)&lt;/font&gt;&lt;/pre&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;What else do you suggest?&lt;/p&gt;&lt;p&gt;Thanks for all the help.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2415661.aspx</link><pubDate>Wed, 11 Jun 2008 09:40:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2415661</guid><dc:creator>Qin Dian Tang - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2415661.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2415661</wfw:commentRss><description>&lt;p&gt;Hi wop_nuno,&lt;/p&gt;
&lt;p&gt;Add namespace &amp;quot;iTextSharp.Text.Html&amp;quot; into your application.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2415588.aspx</link><pubDate>Wed, 11 Jun 2008 09:07:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2415588</guid><dc:creator>wop_nuno</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2415588.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2415588</wfw:commentRss><description>&lt;p&gt;&lt;br /&gt;Hi &lt;b&gt;Qin Dian Tang&lt;/b&gt; 

&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Yes i&amp;#39;ve put the dll in the bin folder. I&amp;#39;ve downloaded the dll from here http://itextsharp.sourceforge.net/ &amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Now i only have 2 errors:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; Response.ContentType = &amp;quot;application/pdf&amp;quot;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Create pdf document&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim document As New iTextSharp.text.Document(PageSize.A4, 80, 50, 30, 65)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Create pdf writer, output directly to OutputStream&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim writer As iTextSharp.text.pdf.PdfWriter = PdfWriter.GetInstance(document, Response.OutputStream)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.Open()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Create tempfile to hold the HTML:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim tempFile As String = Path.GetTempFileName()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using tempwriter As New IO.StreamWriter(tempFile, False)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tempwriter.Write(&lt;i&gt;&lt;b&gt;html&lt;/b&gt;&lt;/i&gt;)&amp;nbsp; --&amp;gt; &amp;#39;iTextSharp.text.html&amp;#39; is a namespace and cannot be used as an expression&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Using&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Parse the HTML into the document&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;b&gt; HtmlParser&lt;/b&gt;&lt;/i&gt;.Parse(document, tempFile)&amp;nbsp; --&amp;gt;&amp;nbsp;  Name &amp;#39;HtmlParser&amp;#39; is not declared.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Cleanup&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.Close()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; writer.Close()&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Delete the tempfile:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File.Delete(tempFile)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; writer = Nothing&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document = Nothing&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.[End]()&lt;br /&gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;Does any one knows why i&amp;#39;m having this errors?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2414791.aspx</link><pubDate>Wed, 11 Jun 2008 01:31:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2414791</guid><dc:creator>Qin Dian Tang - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2414791.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2414791</wfw:commentRss><description>&lt;p&gt;Hi wop_nuno,&lt;/p&gt;
&lt;p&gt;Have you put dll file into bin folder in your web application? Based on my knowledge if you&amp;nbsp;do everything I told you, it should work fine. You can check whether you download the right version of itextsharp. &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2413098.aspx</link><pubDate>Tue, 10 Jun 2008 12:15:05 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2413098</guid><dc:creator>wop_nuno</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2413098.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2413098</wfw:commentRss><description>&lt;p&gt;Hi Qin Dian Tang, &lt;/p&gt;&lt;p&gt;&amp;nbsp;thanks for the reply, but like i said in my previous post i&amp;#39;ve already done that (even with the VB code) and still doesn&amp;#39;t work.&lt;/p&gt;&lt;p&gt;So your post didn&amp;#39;t solve my problem, therefore it&amp;#39;s not an answer. &lt;/p&gt;&lt;p&gt;Thanks.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2412060.aspx</link><pubDate>Tue, 10 Jun 2008 02:34:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2412060</guid><dc:creator>Qin Dian Tang - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2412060.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2412060</wfw:commentRss><description>&lt;p&gt;Hi wop_nuno,&lt;/p&gt;
&lt;p&gt;You use vb code, so it should be:&lt;/p&gt;
&lt;p&gt;Imports System.IO &lt;br /&gt;Imports iTextSharp &lt;br /&gt;Imports iTextSharp.text &lt;br /&gt;Imports iTextSharp.text.pdf &lt;/p&gt;
&lt;p&gt;Make sure you have added ITextSharp.DLL as a reference as &lt;a href="http://forums.asp.net/members/HeartattacK.aspx"&gt;HeartattacK&lt;/a&gt;&amp;nbsp;and &lt;a href="http://forums.asp.net/members/blurearc.aspx"&gt;blurearc&lt;/a&gt;&amp;nbsp;said in above replies.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2412051.aspx</link><pubDate>Tue, 10 Jun 2008 02:22:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2412051</guid><dc:creator>wop_nuno</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2412051.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2412051</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi &lt;strong&gt;Qin Dian Tang,&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve done what you said and i always get the same error messages.&lt;/p&gt;&lt;p&gt;Do you know what else could be causing this error?&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;&lt;p&gt;Nuno&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2412026.aspx</link><pubDate>Tue, 10 Jun 2008 01:51:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2412026</guid><dc:creator>Qin Dian Tang - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2412026.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2412026</wfw:commentRss><description>&lt;p&gt;Hi wop_nuno,&lt;/p&gt;
&lt;p&gt;Like adding a general namespace you just need to do this:&lt;/p&gt;
&lt;p&gt;&lt;span class="kwd"&gt;&lt;font color="#0000ff"&gt;using System.IO;&lt;br /&gt;using iTextSharp;&lt;br /&gt;using iTextSharp.text;&lt;br /&gt;using iTextSharp.text.pdf;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="kwd"&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2410209.aspx</link><pubDate>Mon, 09 Jun 2008 09:02:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2410209</guid><dc:creator>wop_nuno</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2410209.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2410209</wfw:commentRss><description>&lt;p&gt;Hi Qin Dian Tang,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks for the reply, but can you explain in detail what you want me to do?&lt;/p&gt;&lt;p&gt;I&amp;#39;m quiet new to all this thing, so if you could explain it to me, i would really appreciate.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;Thanks.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: export gridview to pdf</title><link>http://forums.asp.net/thread/2409648.aspx</link><pubDate>Mon, 09 Jun 2008 02:33:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2409648</guid><dc:creator>Qin Dian Tang - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2409648.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=2409648</wfw:commentRss><description>&lt;p&gt;Hi wop_nuno,&lt;/p&gt;
&lt;p&gt;Please add namespace of this third party component into your application.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item></channel></rss>