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

ASPxEdit.Value Property

Gets or sets the edited value within the editor.

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 edited value.

Remarks

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