Skip to main content
All docs
V18.2

ASPxClientDashboard.SetPredefinedRange(String, String) Method

Selects a predefined range in the Range Filter dashboard item.

Namespace: DevExpress.DashboardWeb.Scripts

Assembly: DevExpress.Dashboard.v18.2.Web.WebForms.Scripts.dll

Declaration

public void SetPredefinedRange(
    string itemName,
    string dateTimePeriodName
)

Parameters

Name Type Description
itemName String

A String value that specifies the component name of the Range Filter.

dateTimePeriodName String

A String value that specifies the predefined range name.

Remarks

Use the SetPredefinedRange method after the Range Filter has loaded data. When the Range Filter has no data to display, the SetPredefinedRange method returns null.

See Also