WebDocumentViewerBuilder.ClientSideEvents(Action<WebDocumentViewerClientSideEventsBuilder>) Method

Provides access to the WebDocumentViewerClientSideEventsBuilder object that allows you to handle the client-side events specific to the Web Document Viewer.

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

Assembly: DevExpress.AspNetCore.Reporting.v18.2.dll

Declaration

public WebDocumentViewerBuilder ClientSideEvents(
    Action<WebDocumentViewerClientSideEventsBuilder> configure
)
Public Function ClientSideEvents(
    configure As Action(Of WebDocumentViewerClientSideEventsBuilder)
) As WebDocumentViewerBuilder

Parameters

Type Name Description
Action<WebDocumentViewerClientSideEventsBuilder> configure

A Action<T> delegate method that allows you to assign handlers to the client-side events using the methods exposed by the WebDocumentViewerClientSideEventsBuilder object, which is passed as the delegate parameter.

Returns

Type Description
WebDocumentViewerBuilder

A WebDocumentViewerBuilder that can be used to further configure the Document Viewer.

When defining the delegate method, use the WebDocumentViewerClientSideEventsBuilder object that is passed as a parameter. This object exposes methods whose names correspond to the events available to the Web Document Viewer on the client side. These methods provide the capability to handle these events by passing JavaScript functions as the methods' parameters.

See Also