Re: how can i call IE print preview function after i press asp:button?
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
Alan,
You won't use C# code to do this. Rather, you have to attach an event
handler in javascript for the button and trigger a print of the document
(through the print method on the window object, I believe). Once the print
dialog comes up, they can choose to preview it.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"Alan Ho" <gto_station@xxxxxxxxxxxx> wrote in message
news:uW5D$Y2PFHA.3144@xxxxxxxxxxxxxxxxxxxxxxx
> Thanks...
>
>
.
Relevant Pages
- Re: HTML Query
... is not a programming language, it is markup only, HyperText Markup ... And you can add a little JavaScript. ... Far better to attach an onclick handler directly to the element, in your example it would be the SPAN, however I would think DIV of would be more appropriate. ... (alt.html) - Re: Make onclick do more than one thing?
... I'd like it to not only trigger a button column, but also turn the text color back to its original color - in other words, I'd like my dopostback event to perform the onmouseout event as well as trigger the button column. ... Another option is to add your own JavaScript handler. ... Back has always been a pain with web apps. ... (microsoft.public.dotnet.framework.aspnet) - Re: Dynamically created default CButton
... If the visible button is the default button, it will trigger when the ... upper right corner of the app in addition to, ... a user clicks on that button, it will fire the OnOK message. ... Leave the button in the upper right corner and its handler alone. ... (microsoft.public.windowsce.embedded.vc) - Re: Trying to use return false to not allow link to be accessed after onclick event is fired
... This is just the thing the "void" feature of the javascript URL ... Intrinsic event handler attributes like `onclick' (here: ... (comp.lang.javascript) - Re: kernel panic with pccard insert on recent 7.0 CURRENT
... We know if an interrupt source is edge or level ... It falls back to a level trigger emulation if it can't. ... Run A's handler, it claims the interrupt, so schedule A's ithread if ... (freebsd-current) |
|