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. Advertisements

  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. Advertisements

  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. Advertisements

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. Carl Prothman [MVP]

    Re: Open linked PDF-Files from a PDF-File

    Carl Prothman [MVP], Aug 9, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    653
    Paul Kuebler
    Aug 12, 2003
  2. Paul Kuebler

    Open linked PDF-Files from a PDF-File

    Paul Kuebler, Aug 12, 2003, in forum: ASP .Net
    Replies:
    8
    Views:
    706
    Carl Prothman [MVP]
    Aug 18, 2003
  3. Steven
    Replies:
    6
    Views:
    25,939
    nidhindask88
    Jul 19, 2011
  4. Replies:
    1
    Views:
    645
    =?Utf-8?B?bGF0aGEgdmFsbGluYXlhZ2Ft?=
    May 5, 2005
  5. John M
    Replies:
    1
    Views:
    1,623
    Kumar Reddi
    May 29, 2005
  6. =?Utf-8?B?U3RlcGhhbmU=?=

    How to convert .aspx page to .pdf at runtime

    =?Utf-8?B?U3RlcGhhbmU=?=, May 24, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    1,776
    =?Utf-8?B?U0w=?=
    May 24, 2007
  7. Ricardo Pog
    Replies:
    1
    Views:
    780
    Austin Ziegler
    Mar 26, 2008
  8. Sean Nakasone
    Replies:
    1
    Views:
    658
    Farrel Lifson
    Apr 14, 2008
Loading...