Saturday, March 31, 2012

Set browser in PrinPreview state on page load

Hi, Can i set the clients browser programmatically to PrintPreview state (File->Print Preview) when the client clicks the button print?

I don't want to use Crystal nor Report Viewer for some reasons

regards

Thanks in advance! More Power!

Hi,

As far as I know, it's impossible because you have to manipulate IE from client. If so, that means you have access to control windows process, then that's very dangerous. What's more, in fact, there are little APIs for us to control IE's function, especially such thing.

HTH


Hey Dfox,

Unfortunately asp.net works server side, so you can't change client side behaviour.

Keep up the good programming!

0 comments:

Post a Comment