Skip to main content

ASPxClientHiddenField.Contains(propertyName) Method

Returns a value indicating whether the value with the specified property name is contained within the ASPxHiddenField control’s value collection.

Declaration

Contains(
    propertyName: string
): boolean

Parameters

Name Type Description
propertyName string

A string value that specifies the property name.

Returns

Type Description
boolean

true if this value is contained within the collection; otherwise, false.

Remarks

The Contains method can be used on the client side to determine whether the value with the specified property name is contained within the ASPxHiddenField‘s value collection. To obtain the specified value from the collection, use the ASPxClientHiddenField.Get method.

Use the ASPxClientHiddenField.Add or ASPxClientHiddenField.Set methods to add a new value to the control’s value collection.

If you want to remove all values from the control’s value collection, use the ASPxClientHiddenField.Clear method. The ASPxClientHiddenField.Remove method is used to delete an individual value.

See Also