Skip to main content

ASPxDashboardExporter Class

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

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v22.1.Web.WebForms.dll

Declaration

public class ASPxDashboardExporter :
    WebDashboardExporter

Remarks

The ASPxDashboardExporter class allows you to implement server export for the Web Forms Dashboard Control. It uses information stored in a dashboard state 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.

Note

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);

Use the following classes to perform server-side export for other platforms:

The following code snippets (auto-collected from DevExpress Examples) contain references to the ASPxDashboardExporter class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

See Also