Is your print command happening before the call to postback? Well, even if it's after it, as soon as you issue that print command, the browser takes a snapshot of the page and dumps it to the print procedure of the browser. This happens before the browser has had a chance to post and redraw the page.
If it's printing OK as you have it right now, you don't even need to do a postback. Just remove the CSS formatting that sets up the scrolling, issue the print command, then switch back on the CSS formatting.
(Of course, all this hinges on the browser supporting the changing of the appropriate styles.)
Peter
|