This example demonstrates how to export a dashboard displayed using the ASP.NET MVC Dashboard extension on the server side using the ASPxDashboardExporter class. The following API is used to implement this capability
- The ASPxClientDashboard.BeforeRender event is handled to obtain the client-side DashboardControl using the GetDashboardControl method.
- The AJAX request is used to send the dashboard identifier and state to the server side. On the server side, these values are received as action method parameters and passed to the ASPxDashboardExporter.ExportToPdf method.