Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 3.81 KB

File metadata and controls

45 lines (32 loc) · 3.81 KB

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

Dashboard

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.

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)