DateEditProperties.AllowNull Property
Gets or sets a value that specifies whether the date editor allows null values to be entered.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
If the AllowNull property is set to true
, end-users can enter null values into the date editor by clearing its text or clicking the ‘Clear’ button. In this case, the editor’s ASPxDateEdit.Value property is equal to null.
If the AllowNull property is set to false
, the ‘Clear’ button isn’t displayed within the dropdown, and the editor doesn’t accept null values.
See Also