Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Time Editor

x
+
-
Options
v
v
v

This demo illustrates the DevExpress ASP.NET Time Edit (ASPxTimeEdit) control that makes it easier for end-users to input time values.

The value of ASPxTimeEdit can be modified using spin buttons, or directly within the edit box.

The EditFormat property is used to specify how editor values are represented within edit boxes. For display and edit purposes, the edited value can be formatted as a date (EditFormat.Date), time (EditFormat.Time), date with time (EditFormat.DateTime), or custom format (EditFormat.Custom). If the editor format is specified as custom, the EditFormatString property is used to specify the format pattern of the edit value.

The DisplayFormatString property allows you to specify the display view format within the edit box (when the editor is not focused).

The AllowNull property is used to enable/disable a null value in ASPxTimeEdit.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxEditorsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxEditorsDemos