943,796 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 20200
  • ASP.NET RSS
Jun 30th, 2004
0

Printing the datagrid control

Expand Post »
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
Similar Threads
Reputation Points: 115
Solved Threads: 7
Practically a Master Poster
Slade is offline Offline
633 posts
since Mar 2004
Jun 30th, 2004
0

Re: Printing the datagrid control

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:
Quote ...
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.
Moderator
Reputation Points: 322
Solved Threads: 28
The C# Man, Myth, Legend
Tekmaven is offline Offline
914 posts
since Feb 2002
Oct 1st, 2004
0

Re: Printing the datagrid control

Reputation Points: 10
Solved Threads: 0
Newbie Poster
nashcontrol is offline Offline
1 posts
since Sep 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: .NET challenged... at least that's what my therapist said.
Next Thread in ASP.NET Forum Timeline: Vj





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC