The user clicks a 'Print Friendly' link and the page renders in an invisibile iframe the data in the form something like this:
MyHTMLController.Attritibutes("src")="Template.htm". The javacript is render on page load so that it pops open a print dialog box and the user never sees that it actually loads a new window and such.
My problem is that I want to formatt it. I have 5 tables in my form, call them tb1 -tb5.
i want the formatt to be like so:
if page is one size
if page is multiple sizes
repeat the above format except remove table 3 and 2
and if there the count exceeds the page limit size insert a page break into hy .htm template and then add the header(table one) and then continue adding the rows in the table.
Any help would be appreciated.