Skip to main content
All docs
V23.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.v23.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

Note

In v23.1 and higher, our Web Reporting Controls use the Fetch API for all request types. In earlier versions, the Web Reporting Controls used jQuery Ajax to send web requests, and form.submit for export and print operations. The use of the Fetch API includes a unified method to pass request headers from a client to a back-end server. This eliminates the need to handle the OnExport event to process custom request headers for export and print operations.

See Also