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

DevExpressExampleBotDevExpressExampleBot
DevExpressExampleBot
and
DevExpressExampleBot
Apr 30, 2025
fd0d089 · Apr 30, 2025

History

66 Commits
Mar 4, 2025
Apr 30, 2025
Apr 30, 2025
May 23, 2019
Jul 14, 2022
May 23, 2019
Jun 11, 2024
Aug 28, 2024
Jul 13, 2022

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 ASPxDashboard.DataSourceCacheKeyCreated or 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

Does this example address your development requirements/objectives?

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