large data to pdf

When using asp.net web forms or asp.net mvc and using a gridview or an html table holding a sql server table with large amount of records and you want to allow exporting of the data to pdf.
What solution or technology do you normally use to export the large amount of data to pdf quickly?
LVL 1
maqskywalkerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott FellDeveloper & EE ModeratorCommented:
I can't speak directly to how to do this in .NET. Depending  on what you mean by "big" using a client side option is typically very fast. Check out http://pdfkit.org/ or http://pdfmake.org/.  Keep in mind that you are still sending data rows to the browser.  If you have a thousand and more rows of data, this is going to take some time. You may want to stick to doing it on the back end via an ajax call.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Deepak VasudevanGlobal TravellerCommented:
I had a similar requirement. My approach was acknowledge the request from the user with a request number. On the backend, a Windows Service would generate the PDF and send a unique link to the user facilitating download of the same.

It is better to spare ASP.NET Worker Process from dealing with heavier content which anyway it is not going to process and have IIS manage such workloads.
maqskywalkerAuthor Commented:
thanks for the information.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.