Back to Devexpress

ConfigureDataReloadingTimeoutWebEventArgs.DataReloadingTimeout Property

dashboard-devexpress-dot-dashboardweb-dot-configuredatareloadingtimeoutwebeventargs.md

latest2.8 KB
Original Source

ConfigureDataReloadingTimeoutWebEventArgs.DataReloadingTimeout Property

Gets or sets a time interval that is the data reloading timeout.

Namespace : DevExpress.DashboardWeb

Assembly : DevExpress.Dashboard.v25.2.Web.dll

NuGet Package : DevExpress.Web.Dashboard.Common

Declaration

csharp
public TimeSpan DataReloadingTimeout { get; set; }
vb
Public Property DataReloadingTimeout As TimeSpan

Property Value

TypeDescription
TimeSpan

A TimeSpan object specifying the data reloading timeout.

|

Remarks

The Web Dashboard allows you to set a time interval that specifies how frequently the Web Dashboard should refill its cache when a user sends a data request. You can change this time interval by handling the ConfigureDataReloadingTimeout events. For instance, if you set the DataReloadingTimeout event parameter to 100 seconds, the Web Dashboard will update the cache when a new request is received and the current cache version was created more than 100 seconds ago.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DataReloadingTimeout property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

mvc-dashboard-obtain-data-from-online-spreadsheets/CS/MvcDashboard/App_Start/DashboardConfig.cs#L48

csharp
DashboardConfigurator.Default.ConfigureDataReloadingTimeout += (s, e) => {
    e.DataReloadingTimeout = TimeSpan.FromSeconds(30);
};

See Also

ConfigureDataReloadingTimeoutWebEventArgs Class

ConfigureDataReloadingTimeoutWebEventArgs Members

DevExpress.DashboardWeb Namespace