Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Re: How can I open the print dialog (http://www.velocityreviews.com/forums/t59023-re-how-can-i-open-the-print-dialog.html)

Vidar Petursson 07-05-2003 02:46 PM

Re: How can I open the print dialog
 
Hi

http://msdn.microsoft.com/library/de...afterprint.asp

You can also use CSS to state what should be printed
http://msdn.microsoft.com/library/de...es/media_1.asp

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"Mike John" <RiadeAsleh@hotmail.com> wrote in message
news:0a0f01c34271$3e395bf0$a001280a@phx.gbl...
> I want to open print dialog in modual mode ,so the next
> line of code will not execute until the print dialog
> window is close.
>
> I have used the following systax in vb,js:
>
> document.window.print()
> alert("Done print")
>
> Yes, the print dialog window opens, but the second line of
> code got executed, even thou the print dialog window is
> still open
>
> The reason of why I want to do that, is because I want
> hide some controls before printing then appearing them
> again after the print dialog window is close
>
> Sincerly yours
>
>
> Mike John
>
>
>





All times are GMT. The time now is 09:45 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.