ASPxClientDashboardParameter Class
A client-side dashboard parameter.
#Declaration
declare class ASPxClientDashboardParameter
#Remarks
The ASPxClientDashboardParameter class exposes the ASPxClientDashboardParameter.Name and ASPxClientDashboardParameter.Value properties. These allow you to obtain the dashboard parameter name and specify its value on the client side.
Warning
The use of the ASPx
API reduces flexibility when you configure the control. The DashboardASPx
object. The control provides access to all client settings and allows you to implement complex scenarios. We recommend that you use the Dashboard
API to configure the Web Dashboard on the client. More information: Client-Side Functionality.
#Properties
#Name Property
Obsolete. Gets the dashboard parameter name on the client side.
#Declaration
Name: string
#Property Value
Type | Description |
---|---|
string | A string value that is the dashboard parameter name on the client side. |
#Remarks
Use the ASPxClientDashboardParameter.Value property to specify the dashboard parameter value on the client side.
#Value Property
Obsolete. Gets the dashboard parameter value on the client side.
#Declaration
Value: any
#Property Value
Type | Description |
---|---|
any | A string value that specifies the dashboard parameter value on the client side. |
#Remarks
Use the ASPxClientDashboardParameter.Name property to obtain the dashboard parameter name on the client side.
#Methods
#GetDefaultValue Method
Returns a default parameter value.
#Declaration
GetDefaultValue(): any
#Returns
Type | Description |
---|---|
any | A default parameter value. |
#GetDescription Method
Returns the parameter’s description displayed to an end-user.
#Declaration
GetDescription(): string
#Returns
Type | Description |
---|---|
string | A String that is the parameter’s description displayed to an end-user. |
#GetName Method
Returns a parameter name.
#Declaration
GetName(): string
#Returns
Type | Description |
---|---|
string | A String that is the parameter name. |
#GetType Method
Returns a parameter type.
#Declaration
GetType(): string
#Returns
Type | Description |
---|---|
string | A String that identifies the type of dashboard parameter value. |
#GetValue Method
Returns a current parameter value(s).
#Declaration
GetValue(): any
#Returns
Type | Description |
---|---|
any | A current parameter value |
#Remarks
Use the ASPxClientDashboardParameter.SetValue method to specify the current parameter value.
Note
Note that the Get
#GetValues Method
Returns possible parameter values.
#Declaration
GetValues(): ASPxClientDashboardParameterValue[]
#Returns
Type | Description |
---|---|
ASPx |
An array of ASPx |
#Remarks
Use the ASPxClientDashboardParameter.SetValue method to specify the current parameter value.
#SetValue(value) Method
Specifies the current parameter value(s).
#Declaration
SetValue(
value: any
): void
#Parameters
Name | Type | Description |
---|---|---|
value | any | The current parameter value |
#Remarks
Use the ASPxClientDashboardParameter.GetValues method to obtain possible parameter values. The ASPxClientDashboardParameter.GetValue method returns the current parameter value.
Note
Note that the Set