ASPxDateEdit.DateOnError Property
In This Article
Gets or sets a value that specifies how the date editor responds to an invalid date being entered by an end user.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(DateOnError.Undo)]
public DateOnError DateOnError { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Date |
Undo | A Date |
Available values:
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. |
#Remarks
This property is a wrapper of the DateEditProperties.DateOnError property.
See Also