csperler Posted January 18, 2006 Share Posted January 18, 2006 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 More sharing options...
aspnetguy Posted January 18, 2006 Share Posted January 18, 2006 You can do that through HTML and CSS...does it have to go to a desktop app? Link to comment Share on other sites More sharing options...
csperler Posted January 18, 2006 Author Share Posted January 18, 2006 You can do that through HTML and CSS...does it have to go to a desktop app?<{POST_SNAPBACK}> 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now