Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
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.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now