Printing the datagrid control

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2004
Posts: 634
Reputation: Slade has a spectacular aura about Slade has a spectacular aura about 
Solved Threads: 7
Slade's Avatar
Slade Slade is offline Offline
Practically a Master Poster

Printing the datagrid control

 
0
  #1
Jun 30th, 2004
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
Formerly known as Slade.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 898
Reputation: Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light 
Solved Threads: 28
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend

Re: Printing the datagrid control

 
0
  #2
Jun 30th, 2004
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.
Last edited by cscgal; Jun 30th, 2004 at 7:29 pm.
-Ryan Hoffman

.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 1
Reputation: nashcontrol is an unknown quantity at this point 
Solved Threads: 0
nashcontrol nashcontrol is offline Offline
Newbie Poster

Re: Printing the datagrid control

 
0
  #3
Oct 1st, 2004
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC