Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Professional ASP.NET MVC 3
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 27th, 2011, 08:13 AM
Authorized User
Points: 343, Level: 6
Points: 343, Level: 6 Points: 343, Level: 6 Points: 343, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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);
}
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 10: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 22nd, 2005 12:31 AM
Print current record vladimir Access 2 September 11th, 2003 12:53 AM



All times are GMT -4. The time now is 07:23 PM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.