[This is preliminary documentation and is subject to change.]

Occurs when a document is saved. This event is called via a client callback to RAD PDF. In order for this event to fire, DisableClientCallbacks must be set to true. This event will fire when a document is saved, printed, or downloaded and has been completely saved. This event can not be cancelled.

Namespace:  RadPdfLibrary.Web.UI
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)

See Also