The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientHiddenField.Clear Method

Clears the ASPxHiddenField's value collection.

Declaration

Clear(): void

Remarks

The Clear method removes all values from the control's value collection of property name/value pairs. To remove an individual value pair, use the ASPxClientHiddenField.Remove method.

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

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

See Also