Skip to main content
All docs
V18.2

ASPxClientDashboardViewer.ExportDashboardItemToExcel(String, ASPxClientDashboardExportOptions, String) Method

OBSOLETE

This method is obsolete now. Use the ExportDashboardItemToExcel instead. To learn more, see the following KB article: https://www.devexpress.com/Support/Center/Question/Details/T488764

Exports a dashboard item to an Excel file with the specified export options and writes it to the Response.

Namespace: DevExpress.DashboardWeb.Scripts

Assembly: DevExpress.Dashboard.v18.2.Web.WebForms.Scripts.dll

Declaration

[Obsolete("This method is obsolete now. Use the ASPxClientDashboardViewer.ExportDashboardItemToExcel(string itemName, DashboardExcelExportOptions options, string fileName) methods instead. To learn more, see the following KB article: https://www.devexpress.com/Support/Center/Question/Details/T488764")]
public void ExportDashboardItemToExcel(
    string itemName,
    ASPxClientDashboardExportOptions options,
    string fileName
)

Parameters

Name Type Description
itemName String

A string that is the component name of the dashboard item to be exported.

options ASPxClientDashboardExportOptions

An ASPxClientDashboardExportOptions object containing export options.

fileName String

A string that specifies the name of the exported Excel file.

See Also