Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing from DataGrid
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Printing from DataGrid
Environment versions
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01061507
Message ID:
01061507
Views:
43
I'm just finishing up my first ASP.NET app, which is a reporting module accessing VFP9 data through OLEDB, with a VFP COM component to handle some specialized processing.

It's a pretty simple app, which allows the user to select from a number of criteria and then presents the results in a datagrid. The other day as I was running some test data through it I thought I should try printing some things. Rude awakening. Somehow I had naively assumed that we were just generating html, so I could just hit the print button on the browser and everything would print. That's fine if you have less than a page of output, but if you have two or three screenfulls of data it chops off after the first page - even says "page 1 of 1" at the bottom.

Am I missing something basic? I was just beginning to see what the excitement was about with ASP.NET, being able to present a web-based grid with sortable columns, etc. with minimal code; but what kind of gyrations do I need to go through to print it?

One option I'm thinking of is to put a Print button on the report and link that to a routine that I'd put in my DLL that would generate a stream of html. How have others handled this?

Any suggestions appreciated.
Next
Reply
Map
View

Click here to load this message in the networking platform