In this example, you will find how to implement server-side export of the GridDashboardItem data from an ASP.NET solution using the report suite. The export is performed in three steps:
1. We request data displayed in a specific dashboard item using a client-side script provided in the T182186: How to get visible data from a certain dashboard item on the client side and process it on the server side example and send this data to the server in the form of a JSON string.
2. The JSON string is parsed on the server side. Based on the retrieved data, we generate a report containing a simple table.
3. Finally, it is necessary to export the report to an Excel document and write this document to the response. It is possible to use the same approach to export the resultant report to other file types.
↧
How to export the GridDashboardItem item data to Excel from a web solution
↧