[This is preliminary documentation and is subject to change.]
Assembly: RadPdfLibrary (in RadPdfLibrary.dll) Version: 1.4.3630.21651 (1.4.0.0)
Syntax
| C# |
|---|
public event RadPdfWebControl..::.SaveCompleteEventHandler SaveComplete |
| Visual Basic (Declaration) |
|---|
Public Event SaveComplete As RadPdfWebControl..::.SaveCompleteEventHandler |
| Visual Basic (Usage) |
|---|
Dim instance As RadPdfWebControl Dim handler As RadPdfWebControl..::.SaveCompleteEventHandler AddHandler instance.SaveComplete, handler |
Remarks
When this event fires, it occurs inside of an ASP.NET Callback. 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)