Skip to main content
Tab

ASPxComboBox.Value Property

Gets or sets the editor’s edited value.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web

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.

See Also