ASPxEdit.Value Property
Gets or sets the edited value within the editor.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
Declaration
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.
Related GitHub Examples
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.