convert aspx to pdf

Discussion in 'ASP .Net' started by polasrikan@gmail.com, Oct 30, 2008.

  1. Guest

    iam using asp.net 2.0, and iam trying to convert the aspx page to
    pdf. aspx page consints of some data comes from the database. i have
    converter for html2pdf.but not able to use directly the aspx page,
    because it has many asp controls.

    is there any way to convert/ render the aspx page so i can get the
    html and so it can pass to the web service.

    Thanks in advance
    , Oct 30, 2008
    #1
    1. Advertising

  2. bruce barker Guest

    you have a couple options:

    1) use webclient to fetch the aspx page, which will return rendered html,
    that you can then convert to pdf via the tool of choice.
    2) get a pdf writer library and write a aspx page or handler that renders
    pdf directly
    3) create a dynamic pdf document (pdf + javascript) that uses webservices
    to fetch the database data.

    -- bruce (sqlwork.com)


    "" wrote:

    > iam using asp.net 2.0, and iam trying to convert the aspx page to
    > pdf. aspx page consints of some data comes from the database. i have
    > converter for html2pdf.but not able to use directly the aspx page,
    > because it has many asp controls.
    >
    > is there any way to convert/ render the aspx page so i can get the
    > html and so it can pass to the web service.
    >
    > Thanks in advance
    >
    bruce barker, Oct 30, 2008
    #2
    1. Advertising

  3. See is this fits your requirement. A slight learning curve
    http://www.pdfsharp.com/PDFsharp/index.php?option=com_frontpage&Itemid=1

    Regards,

    Trevor Benedict
    MCSD

    <> wrote in message
    news:...
    > iam using asp.net 2.0, and iam trying to convert the aspx page to
    > pdf. aspx page consints of some data comes from the database. i have
    > converter for html2pdf.but not able to use directly the aspx page,
    > because it has many asp controls.
    >
    > is there any way to convert/ render the aspx page so i can get the
    > html and so it can pass to the web service.
    >
    > Thanks in advance
    Trevor Benedict, Oct 30, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ricardo Pog
    Replies:
    1
    Views:
    395
    Austin Ziegler
    Mar 26, 2008
  2. Sean Nakasone
    Replies:
    1
    Views:
    338
    Farrel Lifson
    Apr 14, 2008
Loading...

Share This Page