2

Is there any way to convert current aspx page on button click in to PDF without using third party tool?

2 Answers 2

5

There is nothing built in, so you have to use third party tools.

I have seen iTextSharp recommended here many times as a good PDF library, though I have not used it myself. It is free.

Here is a blog post about rendering HTML + CSS to a PDF with this library.

Sign up to request clarification or add additional context in comments.

1 Comment

It's worth mentioning that iTextSharp is AGPL, so using it may have licensing ramifications for your application.
0

what if you do a report in Reportviewer.. you will have great control over the layout!

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.