asp.net - how to handle open/save dialog in browser when download a pdf file in C# -
hii,
I have a mail list where I can select multiple mails and download I can (without opening / opening mail) During the download process, I update the mail status (download / open) and show content in PDF. Communicates open in the normal browser where the user can open or cancel the option. But if the user cancels, then the mail should not have an updated process. So I think of the update process if the user clicks on or opens, but how can I identify client controls (I think this depends on the browser)
If I downloaded and unplied mail and Click the Cancel button in the dialog box
The PDF creation code I am generating is in this link
That used to open Pdf
How can I manage this problem, please suggest efficient method to handle this problem (code if possible)
< Div class = "post-text" itemprop = "Text">
If I understand the problem correctly, you have to implement an additional step before presenting the user with an open / save dialog. For example: Provide two buttons [open / save] and [cancel]. The first dialogue will go forward to display and update the mail, while the second dialogue will not even show up. If they open / save and then cancel the conversation message then this is not your problem.
You can also specify a list with the checkbox for the user to specify which mail they would like (I do not have enough information about your process of knowing that it is valid But you get this idea.)
Comments
Post a Comment