Solved

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

Posted on 2014-10-31
2
206 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

690 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