A newer version of this page is available. Switch to the current version.

ASPxHiddenField.Remove(String) Method

Removes the specified value from the ASPxHiddenField value collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public bool Remove(
    string propertyName
Public Function Remove(
    propertyName As String
) As Boolean


Name Type Description
propertyName String

A string value representing the property name.


Type Description

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


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.


See Also