RAD PDF Documentation
save Method
See Also  Send Feedback

Save the document currently open in the PdfWebControl instance.

Syntax

CopyJavaScript
function save(async);

Parameters

async

Type: Boolean

If true, the referenced PdfWebControl instance will save asynchronously (return immediately).

If false, the referenced PdfWebControl instance will save synchronously (wait until complete, then return).

Return Value

Type: Boolean

Returns true if successful.

Returns false if document is not properly saved.

Remarks

This method will always return true if async is true.

Examples

CopyJavaScript
var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance
myApi.save(false); //this will save the data currently in PdfWebControl synchronously (wait until complete)

See Also

Other Resources

PdfWebControlApi Methods
Pre PostBack Save Example

Send comments on this topic to sales@ctdeveloping.com

Copyright CTdeveloping, LLC