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);
}
|