Click here to Skip to main content
15,878,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi

I am trying to do an application, which will have a save as pdf button on all the pages, when a user clicks the button it should get the contents and save it as pdf.

I know how to convert the html to pdf, but the problem is, i don't know how to get the contents of the page into a string .

I am trying to get the content but no luck, i can get the view but i want the complete page not only the view to be saved as html.

please help guys.

thanks.
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900