May 27, 2009 at 2:27 pm
Hello,
I have 5 reports on my SQL Server. Now in my asp.net web app I want to give something like check boxes and then depending upon the check boxes the user has clicked I want to print the reports.
How can I achieve this? As the only way I know is to open the report from a link and then print it.
Thanks!
May 27, 2009 at 3:05 pm
you can use the javascript window.print() method, however it just opens the windows print dialog box, the user still has to click the "Print" button
If you're using ASP.NET, I tend to use a ClientStartupScript to embed the javascript in the page, so when the report opens, so does the print dialog box.
I don't think its possible to force the printing from a browser click.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy