Back to Devexpress

DateOnError Enum

aspnet-devexpress-dot-web-f24c3743.md

latest1.3 KB
Original Source

DateOnError Enum

Specifies how a date editor responds to an invalid value.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public enum DateOnError
vb
Public Enum DateOnError

Members

NameDescription
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:

Remarks

The DateOnError type enumerates the possible values for the ASPxDateEdit.DateOnError (DateEditProperties.DateOnError) property.

See Also

DevExpress.Web Namespace