Skip to content

DevExpress-Examples/mvc-dashboard-use-different-caches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard for MVC - How to Reset the Data Source Cache

The following example shows how you can manage the cache in the ASP.NET MVC 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.

Files to Review

Documentation

More Examples

About

This example demonstrates how to reset the dashboard's cache forcedly.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 7