Solved

Simple MVC grid that is populated with data, How to extract it as a pdf

Posted on 2014-10-31
2
199 Views
Last Modified: 2014-11-06
I have this simple MVC grid with data populated from a search result and what I would like next to the Delete link is a pdf Icon and once I click on it it does a export in pdf as a nice format on what is displayed on the data grid

Can anyone give me some tip on how to do this?


MVCDataGrid.jpg
0
Comment
Question by:yguyon28
  • 2
2 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40421674
The better answer depends on what you are using for the grid, but there is always iTextSharp to generate a PDF in code.

iTextSharp, a .NET PDF library
http://sourceforge.net/projects/itextsharp/
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 40421682
Another approach is to use XSLT to generate a PDF.

FOP C# Port
http://sourceforge.net/projects/fop-dotnet/

This project is a port of the Apache Java-based XSL-FO formatter FOP to C#. The purpose is to support the growth and adoption of the XSL-FO standard and to make FOPs capabilities embeddable in managed code applications for the .NET CLR
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question