RAD PDF Library Documentation
RadPdfApi Events
See Also  Send Feedback

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

The RadPdfApi Class is used to interface a web application with a RadPdfWebControl instance using client side JavaScript.

Overview

Several different events are raised by RAD PDF, and can be listened to using the RadPdfApi.

To listen to a particular event the addEventListener Method should be used.

It is important to remember that you can only attach a listener after the RAD PDF's OnLoad event has been called.

It is recommended to add your event listeners in a function executed by the OnClientLoad Property of a RAD PDF Web Control.

See the Event Example to see event usage in action.

Events

Name Description
saveComplete Informational event raised upon the completion of a save by RadPdfWebControl
save Event raised upon saving a document in a RadPdfWebControl. Can be canceled by returning false.
print Event raised upon printing a document in a RadPdfWebControl. Can be canceled by returning false.
download Event raised upon downloading a document in a RadPdfWebControl. Can be canceled by returning false.

See Also

Other Resources

Event Example
RadPdfApi Class
RadPdfApi Constructor
RadPdfApi Methods
RadPdfApi Properties
RadPdfApi Examples

Send comments on this topic to sales@ctdeveloping.com

CTdeveloping, LLC