1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Create a PDF from the server...

Discussion in 'C#' started by tomred, Nov 22, 2010.

  1. #1
    I have a large report built using ASP.NET which produces the results in HTML format.
    SEMrush
    Users currently just print the document off as a PDF client-side.

    I would like to simply add a button to this page which would allow users to download the report as PDF. Is this possible?

    I dont have the time to actually create the PDF document programatically.

    Thanks
     
    tomred, Nov 22, 2010 IP
    SEMrush
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,681
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There are plenty of free components for creating PDF documents on the fly
     
    AstarothSolutions, Nov 22, 2010 IP
  3. alexsc29

    alexsc29 Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Refer here
    http://www.codeproject.com/KB/aspnet/Creating_PDF_documents_in.aspx
     
    alexsc29, Nov 24, 2010 IP
  4. bibinsmk

    bibinsmk Active Member

    Messages:
    205
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    You can simply code using itextsharp.
     
    bibinsmk, Dec 2, 2010 IP
  5. hilhilginger

    hilhilginger Active Member

    Messages:
    317
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    I have tried this by ITextSharp .I learned ,it is a library integrated to create PDF documents.With all the primitive functions necessary you can create a PDF document.You can also download the class files from open file download sites.
     
    hilhilginger, Jan 5, 2011 IP