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

ASPxComboBox.Value Property

Gets or sets the editor’s edited value.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public override object Value { get; set; }

Property Value

Type Description
Object

A Object value representing the editor’s value.

Remarks

Use the Value property to manipulate the editor’s value.

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

Note

If the ASPxComboBox’s ASPxAutoCompleteBoxBase.Items collection is not initialized, Value returns the ASPxComboBox.SelectedItem‘s ListEditItem.Text property value.

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