Skip to main content
A newer version of this page is available. .

ASPxClientWebDocumentViewerErrorEventHandler<Sender> Interface

A method that will handle the ASPxClientWebDocumentViewer.OnServerError event.

Declaration

interface ASPxClientWebDocumentViewerErrorEventHandler<Sender> { (source: Sender, e: ASPxClientErrorEventArgs): void; }

Parameters

Name Type Description
source Sender

The event sender.

e ASPxClientErrorEventArgs

An ASPxClientErrorEventArgs object that contains data related to the event.

Remarks

When creating a ASPxClientWebDocumentViewerErrorEventHandler<Sender> delegate, identify a method that will handle corresponding events.

To associate an event with an event handler, add a delegate instance to the event.

The event handler is called whenever the event occurs, unless the delegate is removed.

To learn more, see the Events and Delegates topic in MSDN.