convert aspx to pdf

P

polasrikan

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
 
B

bruce barker

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)
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top