Results 16 - 20 of 37
20 May 2015 24 Jan 2019 3 Comments  91719 Views
Here Mudassar Ahmed Khan has explained how to generate Invoice (Bill) Receipt PDF from database in ASP.Net using C# and VB.Net.

The Invoice (Bill) Receipt PDF will be generated from database using iTextSharp library in ASP.Net.
12 May 2015 12 May 2015 2 Comments  29859 Views
Here Mudassar Ahmed Khan has explained how to attach a File from MemoryStream to MailMessage object and send as email attachment in ASP.Net using C# and VB.Net.
This article will explain how to attach a PDF file from MemoryStream to MailMessage object and send as email attachment in ASP.Net using C# and VB.Net.
20 Apr 2015 20 Apr 2015 0 Comments  24094 Views
Here Mudassar Ahmed Khan has explained solution to the following error (exception) when we use HtmlWorker to convert HTML string to PDF using iTextSharp PDF conversion library.
Unable to cast object of type 'iTextSharp.text.html.simpleparser.CellWrapper' to type 'iTextSharp.text.Paragraph'.

One of my readers reported me the above error when exporting ASP.Net GridView to PDF when he used the latest version of iTextSharp DLL instead of the one provided in the article sample.
18 Mar 2015 18 Mar 2015 7 Comments  51157 Views
Here Mudassar Ahmed Khan has explained how to add page numbers to existing PDF file using iTextSharp in C# and VB.Net.
The pages of the PDF file will be read and then using the PdfStamper class page numbers will be written to each page of the PDF document.
12 Sep 2014 12 Sep 2014 8 Comments  33247 Views
Here Mudassar Ahmed Khan has explained how to resolve the error System.Security.SecurityException: That assembly does not allow partially trusted callers when using iTextSharp Library DLL on a server that does not allow Full Trust to the Website.

Generally we face this issue when using Shared Hosting Servers and hence to resolve this issue we need to modify the iTextSharp DLL to allow partially trust callers.
Results 16 - 20 of 37