ASPxGridExporterBase.BeforeExport Event
Occurs before the grid content is exported.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
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
See Also