DashboardViewerExtension.Export(String, DashboardSourceModel) Method

Returns the binary content of the exported dashboard displayed in the DashboardViewer.

Namespace: DevExpress.DashboardWeb.Mvc

Assembly: DevExpress.Dashboard.v18.1.Web.Mvc.dll

Syntax

public static FileStreamResult Export(
    string name,
    DashboardSourceModel dataSettings
)

Parameters

Type Name Description
String name

A String value that specifies the DashboardViewer extension name.

DashboardSourceModel dataSettings

A DashboardSourceModel object.

Returns

Type Description
FileStreamResult

A System.Web.Mvc.FileStreamResult object that is a binary content sent in response.