Dashboard for ASP.NET Core - How to Use Parameters to Update a Specific Dashboard Item Without Refreshing the Entire Dashboard
The example shows how to use dashboard parameters to update a specific dashboard item without refreshing the entire dashboard. This technique applies when you need to filter a data source's data to update a specific dashboard item, but do not want to refresh data in all items in a dashboard because this operation causes a performance delay.
The dashboard in the example has three items:
- The "Products" grid
- The "Sales per Product" chart
- The "Orders" grid
All items are bound to different data sources. The "Products" grid item filters the "Sales per Product" chart values.
The selected master filter value is obtained on the client. The headers property is used to pass the value to the server and change the parameter to filter the chart's data source. The DashboardControl.refresh method updates the chart item on the client side.
- Dashboard for ASP.NET Core - How to Reset the Data Source Cache
- Dashboard for MVC - How to Reset the Data Source Cache
- Dashboard for Web Forms - How to Reset the Data Source Cache
(you will be redirected to DevExpress.com to submit your response)