Skip to main content
A newer version of this page is available. .
All docs
V21.2

DxReportViewer.OnExport Event

Occurs before the Report Viewer sends a request to print the document or to get the exported document.

Namespace: DevExpress.Blazor.Reporting

Assembly: DevExpress.Blazor.Reporting.v21.2.Viewer.dll

NuGet Package: DevExpress.Blazor.Reporting.Viewer

Declaration

[Parameter]
public EventCallback<ExportResultRequestData> OnExport { get; set; }

Parameters

Type Description
ExportResultRequestData

An object that specifies the request URL and contains data to pass to the server.

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