Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to trap after a report has been printed?
Message
De
10/04/2013 00:42:57
 
 
À
09/04/2013 13:52:06
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Divers
Thread ID:
01570496
Message ID:
01570556
Vues:
32
>>So, what you're saying is, the report viewer control has a Print button and you want to hook into the click event. After the user prints, you want to display the dialog. Note, I have no experience with this control.
>>
>
>Yes, the user clicks on the Print button, then the printer dialog is displayed and when the user clicks on the Print button on this dialog the PrintingBegin event occurs. I can hook into this, but if I display the dialog here, it displays before the spooler has started and the spooler won't start until the dialog is closed.

have not done this, but can't you poll print queue via spooler API ? Printer dialogue does that, so get before print button and timer fired after and compare to decide on setting your flag.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform