Skip to main content

ASPxEdit.Value Property

Gets or sets the edited value within the editor.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll


public override object Value { get; set; }

Property Value

Type Description

A Object value representing the editor’s edited value.


Use the Value property to access the value currently edited within the editor. The value type varies for different editor controls. Since all classes are Object descendants, any class can be returned by this property.

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 (for instance, a number value is posted to a DateTime field), then an exception is raised.

See Also