aspnet-devexpress-dot-web-f24c3743.md
Specifies how a date editor responds to an invalid value.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public enum DateOnError
Public Enum DateOnError
| Name | Description |
|---|---|
Undo |
An invalid date is replaced with the previously validated date.
|
| Null |
An invalid date is replaced with the null value.
|
| Today |
An invalid date is replaced with the current date.
|
The following properties accept/return DateOnError values:
The DateOnError type enumerates the possible values for the ASPxDateEdit.DateOnError (DateEditProperties.DateOnError) property.
See Also