ASPxDashboardExporter Class

Performs server-side export of a dashboard/dashboard item displayed in the Web Dashboard.

Namespace: DevExpress.DashboardWeb

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


public class ASPxDashboardExporter :
Public Class ASPxDashboardExporter
    Inherits WebDashboardExporter

The ASPxDashboardExporter class allows you to implement server export for the ASP.NET Web Forms Dashboard Control.It uses information stored in a dashboard sate to determine the currently selected filters, drill-down levels and parameter values. The state overrides default values specified in dashboard items and parameters. An empty state for the ASPxDashboardExporter means that an end-user has cleared all filters and parameters, and canceled all drill-down operations. The ASPxDashboardExporter inherits members of the WebDashboardExporter class.


You should specify a dashboard state as the export method's parameter so that the exported document retains all dashboard adjustments, whether they are default or performed by an end-user.

You can also specify export options for the resulting document. See Manage Exporting Capabilities to learn more.

To initialize ASPxDashboardExporter for the specified ASPxDashboard control, pass the control's instance to the ASPxDashboardExporter constructor.

using DevExpress.DashboardWeb;
ASPxDashboardExporter exporter = new ASPxDashboardExporter(ASPxDashboard1);

In the MVC and ASP.NET Core, use the WebDashboardExporter class to perform server-side export of a dashboard/dashboard item.


See Also