Skip to main content
All docs
V24.2
.NET 8.0+
  • The page you are viewing does not exist in the .NET Framework 4.6.2+ platform documentation. This link will take you to the parent topic of the current section.

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BlazorExportController.GridExported Event

Fires when the export operation finishes.

Namespace: DevExpress.ExpressApp.Blazor.SystemModule

Assembly: DevExpress.ExpressApp.Blazor.v24.2.dll

NuGet Package: DevExpress.ExpressApp.Blazor

#Declaration

public event EventHandler<GridExportEventArgs> GridExported

#Event Data

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

Property Description
ExportTarget Inherited from GridExportEventArgsBase.
Handled Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing. Inherited from HandledEventArgs.
Options Inherited from GridExportEventArgsBase<T>.

#Remarks

Handle the GridExported event to react to export completion.

using DevExpress.Blazor;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Blazor.SystemModule;
using DevExpress.ExpressApp.SystemModule;
// ...
public partial class CustomizeExportControllerBlazor : ViewController {
    public CustomizeExportControllerBlazor() {
        InitializeComponent();
        TargetViewType = ViewType.ListView;
    }
    private BlazorExportController blazorExportController;
    protected override void OnActivated() {
        base.OnActivated();
        blazorExportController = Frame.GetController<BlazorExportController>();
        blazorExportController.GridExported += blazorExportController_GridExported;
    }
    void blazorExportController_GridExported(object sender, GridExportEventArgs e) {
        Application.ShowViewStrategy.ShowMessage("Export successful!");
    }
    protected override void OnDeactivated() {
        blazorExportController.GridExported -= blazorExportController_GridExported;
        base.OnDeactivated();
    }
}

The following image illustrates the message that appears when export is complete.

Export notification

See Also