DateTimePicker

Inheritance Hierarchy

          IWebComponent

          IWebControl

          IWebDateTimePicker

          WebDateTimePicker

Description

The DateTimePicker component is used to enter and display date and time in a combined calendar.

Comments

Date and time can be entered in the component editor or selected in the drop-down calendar. To open the calendar, click the button in the component area. The dropCalendar property determines whether a drop-down calendar is available.

The calendar supports dates and times within the range [14.09.1752 00:00:00, 18.12.3001 23:59:59]. To limit the range of entered values, use the minValue and maxValue properties. The current value that will be displayed on web form startup is specified in the value property. To reset the minimum, maximum, and current values set in the component in the design mode, put the cursor on the specified properties and press the DEL key.

During web form execution, one can determine calendar value using the Value property. The text displayed in the component and returned by the Text property depends on the format set in the format property. Format is set in the design mode can contain any text and special codes, which will be replaced with values of specific date and time components.

Format codes

The component has different properties available in the design mode and in the web form execution mode.

The component has the onValueChanged event that occurs on changing component value.

Example

See also:

Web Form Components