ASPxClientDashboard.SetPredefinedRange(String, String) Method

Selects a predefined range in the Range Filter dashboard item.

Namespace: DevExpress.DashboardWeb.Scripts

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

Syntax

public void SetPredefinedRange(
    string itemName,
    string dateTimePeriodName
)

Parameters

Type Name Description
String itemName

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

String dateTimePeriodName

A String value that specifies the predefined range name.

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.