Skip to main content
A newer version of this page is available. .
All docs
V22.1

DxDocumentViewerCallbacks.OnExport Property

Specifies the handler for the OnExport client-side event that allows you to pass data to the server before the requests to print the document or to get the exported document are executed.

Namespace: DevExpress.Blazor.Reporting

Assembly: DevExpress.Blazor.Reporting.v22.1.JSBasedControls.dll

NuGet Package: DevExpress.Blazor.Reporting.JSBasedControls

Declaration

[Parameter]
public string OnExport { get; set; }

Property Value

Type Description
String

The name of a JavaScript function used to handle the OnExport event.

Remarks

The Document Viewer request that gets the exported document and the request to print the document are GET requests. If your application uses token-based authentication, handle the OnExport event and specify the ExportResultRequestData parameter properties to pass a token to the server when these requests are executed.

See Also