Skip to main content
Tab

ASPxHiddenField.Remove(String) Method

Removes the specified value from the ASPxHiddenField value collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public bool Remove(
    string propertyName
)

Parameters

Name Type Description
propertyName String

A string value representing the property name.

Returns

Type Description
Boolean

true if the specified value has been successfully removed from the control’s collection; otherwise, false.

Remarks

The Remove method removes an individual value with the specified property name from the control’s value collection. To remove all values from the collection, use the ASPxHiddenField.Clear method.

A new value can be added to the control’s value collection by using the ASPxHiddenField.Add and ASPxHiddenField.Set methods. To obtain the value from the collection with a specific property name, use the ASPxHiddenField.Get method or the ASPxHiddenField.Item property.

Values 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.

Implements

See Also