Jump to content

HTML Pagination


csperler

Recommended Posts

Hey All -I'm taking a datatable, converting it to XML, transforming that with an XSL file, and then sending the HTML string to a WebBrowser control in a local WinForms C# application. Is there a way to control the pagination of the document? For example, after the table occupies a certain height, the table would conclude, and a new table, containing the header of the first table, would be inserted and then continues displaying the data? The goal is to maintain a specific, printable page size so that each page contains the table header. Thanks in advance,Craig

Link to comment
Share on other sites

You can do that through HTML and CSS...does it have to go to a desktop app?

Yes, it's with a desktop app. I've got a .NET Windows application that's hosting a WebBrowser control (.NET 2.0). The app generates a datatable, does some conversions, and sends a string of HTML to the WebBrowser. The HTML string, among other things, contains the table of data.How would I go about doing this with HTML and CSS? Or can you point me to a link that might help me out?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...