954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Printing the datagrid control

Ok, the company I work for require the vacancies datagrid located at http://www.goldenwest.org.au/vacancies.aspx to be printable. I have made a new project that shows all records in the datagrid and the datagrid takes up the whole page. What I want to do, is when it is printed, no rows are cut off and are instead pushed to the next page and also to have the header of the datagrid repeated on each page.

Seems simple enough... but I can't quite get it any ideas?

Thanks in advance guys

Slade

Slade
Practically a Master Poster
633 posts since Mar 2004
Reputation Points: 115
Solved Threads: 7
 

The best way for you to acomplish this is to have a dynamically generated PDF. Probably one of the coolest things that I've been playing around with is called FOP , which is created by the Apache Foundation, and is used to create reports using xml. There is a .NET port, called nFop , which can be used in with nPDF .

Here is the description of nPDF:FO PDF is similar to ASP.NET Server Controls, written in C#.It takes DataTable and few other params to generate the XSL FO and renders a DataGrid like PDF Report using NFOP (Apache FOP Port in J#) PDF Formatter.

Tekmaven
Software Architect
Moderator
1,274 posts since Feb 2002
Reputation Points: 322
Solved Threads: 28
 
nashcontrol
Newbie Poster
1 post since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You