PdfWebControlLiteSaved Event |
Namespace: RadPdf.Web.UI
This event will fire after a document is saved or downloaded and has been completely saved; this event can not be canceled.
When this event fires, it occurs inside of an ASP.NET Web Form Callback. This event will not be raised outside of an ASP.NET Web Form application.
Code inside handlers for this event must not make changes to any controls which affect the rendered HTML, viewstate, or control state. This means that changes made to web controls will not be reflected in the page, its viewstate, or the client browser. Additionally, changes must not be made to the response (e.g. writes, redirects, etc).
This event should be used to do things such as saving the document's output data to a database, document post-processing, etc.
Because this event is called asynchronously from the client after the save has already been processed by the server, it is possible for this event not to be raised even if a save did occur (e.g. script error, connection loss, postback occurs before callback, etc). If you do not need access to elements on the ASP.NET Web Form Page, you should consider implementing a custom PdfIntegrationProvider which overrides the OnDocumentSaved(DocumentSavedEventArgs) method instead, which does not have this limitation.