DashboardExportOptionBuilder.OnExportDialogHidden(String) Method
In This Article
A handler for the event that occurs when the export dialog is hidden.
Namespace: DevExpress.DashboardAspNetCore
Assembly: DevExpress.Dashboard.v24.2.AspNetCore.dll
NuGet Package: DevExpress.AspNetCore.Dashboard
#Declaration
public DashboardExportOptionBuilder OnExportDialogHidden(
string onExportDialogHidden
)
#Parameters
Name | Type | Description |
---|---|---|
on |
String | A function that is executed when the export dialog is hidden. |
#Returns
Type | Description |
---|---|
Dashboard |
A reference to this instance after the operation has completed. |
#Remarks
The code snippet below shows how to call a function when the export dialog is hidden.
cshtml
<script>
function ExportDialogHidden() {
// ...
}
</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.OnExportDialogHidden("ExportDialogHidden");
});
})
)
</div>
See Also