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.v24.2.dll
NuGet Package: DevExpress.AspNetCore.Reporting
#Declaration
public WebDocumentViewerBuilder ClientSideEvents(
Action<WebDocumentViewerClientSideEventsBuilder> configure
)
#Parameters
Name | Type | Description |
---|---|---|
configure | Action<Web |
A Action |
#Returns
Type | Description |
---|---|
Web |
A Web |
#Remarks
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.