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

ASPxComboBox.Value Property

Gets or sets the editor's edited value.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public override object Value { get; set; }
Public Overrides Property Value As Object

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