Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Professional ASP.NET MVC 3
|
BOOK: Professional ASP.NET MVC 3
This is the forum to discuss the Wrox book Professional ASP.NET MVC 3 by Jon Galloway, Phil Haack, Brad Wilson, K. Scott Allen; ISBN: 978-1-1180-7658-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 27th, 2011, 08:13 AM
Authorized User
 
Join Date: Mar 2009
Posts: 74
Thanks: 5
Thanked 0 Times in 0 Posts
Default Do I print one record perpage in iTextSharp

Hello all,
I am building an asp.net mvc 3 application and generating reports using iTextSharp

It is my first time using iTextSharp, I have been able to generate the reports
however here is my problem,

I created a view that I pass to the viewPdf() method which converts the view to a pdf format,

but however the pdf format has more than one record on thesame page,but i need it to print a record per page, i.e not more than more record on a page, each each record is displayed in a detail type layout

Please how do I acheive this? i have searched google and some forums and have been trying but...id appreciate some help thanks

This is what my controller looks like

public ActionResult Print(int? ID=null)
{
viewModel.Applicants=entities.Applicants;
return this.ViewPdf("", "Print", viewModel);
}





Similar Threads
Thread Thread Starter Forum Replies Last Post
Print current record Zbiebu BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 0 September 24th, 2010 09:02 AM
print current record on another form jcellens Access 7 February 14th, 2006 02:01 PM
print current record in a form mjuliao Access 1 November 15th, 2005 08:57 AM
print the hidden page without the print dialog box kayzem Classic ASP Basics 0 April 21st, 2005 11:31 PM
Print current record vladimir Access 2 September 10th, 2003 11:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.