Solved

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

Posted on 2014-10-31
2
202 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 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