You must Sign In to post a response.
  • Category: ASP.NET

    How to convert aspx to pdf

    How to convert PDF in particular panel from one Aspx web Page.That Panel included(Lables,Chart,Photos) very urgently
  • #747682

    Refer below link, here he explain how to export panel content data into pdf format with simple example.

    Give respect to your work, Instead of trying to impress your boss.

    Blog :

  • #747686
    You need to do it easily using any third party tool for example ASPOSE or iTextSharp

    Document document = new Document();
    PdfWriter.GetInstance(document, new FileStream(Request.PhysicalApplicationPath + "\\MySamplePDF.pdf", FileMode.Create));
    iTextSharp.text.html.simpleparser.HTMLWorker hw =
    new iTextSharp.text.html.simpleparser.HTMLWorker(document);
    hw.Parse(new StringReader(htmlText));

    Thanks & Regards
    Anil Kumar Pandey
    Microsoft MVP, DNS MVM

  • #747893

    Additinal info to Anil, you can try sample demos on MSDN ,check

    Hope it makes sense.

  • Sign In to post your comments