Skip to main content
All docs
V24.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.v24.1.JSBasedControls.Common.dll

NuGet Package: DevExpress.Blazor.Reporting.JSBasedControls.Common

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

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