Skip to content

The example shows how to reset the data source cache on the server for the ASP.NET Web Forms Dashboard control.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/web-forms-dashboard-use-different-caches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard for Web Forms - How to Reset the Data Source Cache

The following example shows how you can manage the cache in the ASP.NET Web Forms Dashboard control.

To refresh the data source cache on the server, add a unique value to the CustomData field in the he ASPxDashboard.DataSourceCacheKeyCreated or DashboardConfigurator.DataSourceCacheKeyCreated event 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