Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.AspNetCore.Reporting


public WebDocumentViewerBuilder ClientSideEvents(
    Action<WebDocumentViewerClientSideEventsBuilder> configure


Name Type Description
configure Action<WebDocumentViewerClientSideEventsBuilder>

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.


Type Description

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