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

ASPxListBox.Value Property

Gets or sets the editor’s value.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public override object Value { get; set; }

Property Value

Type Description
Object

A Object value representing the editor’s value.

Remarks

This property overrides the base ASPxEdit.Value property to implement a proper display of editor items when the property’s value changes.

The Value property can be used to manipulate the editor’s value.

If you need to validate the editor’s value before posting it, you can handle either client-side ASPxClientEdit.Validate or server-side ASPxEdit.Validate events, or both. If no validation is performed and the value posted is not correct, then an exception is raised.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Value property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also