Skip to main content
A newer version of this page is available. .
Tab

ASPxGridExporterBase.BeforeExport Event

Occurs before the grid content is exported.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public event ASPxGridBeforeExportEventHandler BeforeExport

Event Data

The BeforeExport event's data class is ASPxGridBeforeExportEventArgs. The following properties provide information specific to this event:

Property Description
ExportOptions Specifies the export parameters.
ExportTarget Gets the export format.

Remarks

The BeforeExport event enables you to perform custom actions before the grid content is exported.

<dx:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server" OnBeforeExport="ASPxGridViewExporter1_BeforeExport">
</dx:ASPxGridView>

Concept

Export

See Also