This example shows how to export a dashboard displayed in ASPxDashboard on the server. When you click Export to PDF, the ASPxDashboardExporter exports the displayed dashboard with the specified dashboard state to your desktop.
The following API is used to implement this functionality:
- The ASPxDashboard.CustomJSProperties server-side event is used to pass information about available dashboards to the client side.
- The DashboardControl.loadDashboard method opens a selected dashboard.
- The ASPxClientDashboard.PerformDataCallback method is used to pass the dashboard identifier and state to the server. On the server, the ASPxDashboard.CustomDataCallback event is used to obtain and parse these values.
- ASPxDashboardExporter.ExportToPdf is used to export the selected dashboard with the state passed from the client.
- Default.aspx (VB: Default.aspx)
- Default.aspx.cs (VB: Default.aspx.vb)
- InitializeControls.js (VB: InitializeControls.js)
- BI Dashboard for MVC - How to implement server-side export
- BI Dashboard for Web Forms - How to export Web Dashboard into PDF with different filter values on different pages
- BI Dashboard for Web Forms - How to add custom information to the exported dashboard
(you will be redirected to DevExpress.com to submit your response)