The following example shows how you can manage the cache in the ASP.NET Core Dashboard control.
To refresh the data source cache on the server, add a unique value to the CustomData field in the DashboardConfigurator.DataSourceCacheKeyCreated event handler. You can store the unique GUID value within a session as a parameter and update its value in your code when it is necessary to refresh the cache.
To refresh the data source cache on the client, you can call the DashboardControl.reloadData client method.
- Click Refresh Cache (Server) to force the cache reset on the server.
- Click Refresh Cache (Client) to force the cache reset using the client API.
- Dashboard for ASP.NET Core - How to Use Parameters to Update a Specific Dashboard Item Without Refreshing the Entire Dashboard
- Dashboard for Web Forms - How to Reset the Data Source Cache
- Dashboard for MVC - How to Reset the Data Source Cache
(you will be redirected to DevExpress.com to submit your response)