Skip to main content
A newer version of this page is available. .
Tab

ASPxHiddenField.Get(String) Method

Returns the value with the specified property name.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public object Get(
    string propertyName
)

Parameters

Name Type Description
propertyName String

A string value that specifies the property name.

Returns

Type Description
Object

An object that represents the value of the specified property.

Remarks

The Get property is used to obtain the value with the specified property name from the control’s value collection. Alternatively, the value can be accessed by using the ASPxHiddenField.Item notation.

To add a new value to the control’s collection of property name/value pairs, the ASPxHiddenField.Set method can be used. To delete all values from the control’s collection of property name/value pairs, use the ASPxHiddenField.Clear method. An individual property name/value pair can be removed from the collection by using the ASPxHiddenField.Remove method.

Items from the control’s collection of property name/value pairs can also be manipulated on the client side by using the following methods: ASPxClientHiddenField.Add, ASPxClientHiddenField.Set, ASPxClientHiddenField.Get, ASPxClientHiddenField.Clear, ASPxClientHiddenField.Remove.

See Also