Skip to main content
All docs
V25.1
  • Tab

    ASPxGridExporterBase.BeforeExport Event

    Occurs before the grid content is exported.

    Namespace: DevExpress.Web

    Assembly: DevExpress.Web.v25.1.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