Skip to main content

DashboardExportOptionBuilder.OnExportDialogShown(String) Method

A handler for the event that occurs after the export dialog is shown.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v24.1.AspNetCore.dll

NuGet Package: DevExpress.AspNetCore.Dashboard

Declaration

public DashboardExportOptionBuilder OnExportDialogShown(
    string onExportDialogShown
)

Parameters

Name Type Description
onExportDialogShown String

A function that is executed after the export dialog is shown.

Returns

Type Description
DashboardExportOptionBuilder

A reference to this instance after the operation has completed.

Remarks

The code snippet below shows how to call a function after the export dialog is shown.

<script>
    function ExportDialogShown() {
        // ...
    }
</script>
<div style="position: absolute; left: 0; top: 0; right: 0; bottom: 0;">
@(Html.DevExpress().Dashboard("dashboardControl1")
    .Width("100%")
    .Height("100%")
    .OnBeforeRender("onBeforeRender")
    .Extensions(ext => {
        ext.DashboardExport(options => {
            options.OnExportDialogShown("ExportDialogShown");
        });
    })
)
</div>
See Also