[]
        
(Showing Draft Content)

C1.Web.Mvc.InputTime-1

InputTime<T> Class

The InputTime control allows users to enter times using any format supported by the Globalize class, or to pick times from a drop-down list.

Inheritance
InputTime<T>
Namespace: C1.Web.Mvc
Assembly: C1.Web.Mvc.dll
Syntax
public class InputTime<T> : ComboBoxBase<T>, IHtmlString, ITemplate, IDropDown
Type Parameters
Name Description
T

Constructors

Name Description
InputTime(HtmlHelper, string)

Creates one InputTime<T> instance.

Properties

Name Description
AutoExpandSelection

Gets or sets a value that indicates whether the control should automatically expand the selection to whole words/numbers when the control is clicked.

Format

Gets or sets the format used to display the selected time (see Globalize).

InputType

Gets or sets the "type" attribute of the HTML input element hosted by the control.

IsEditable

Gets or sets a value that indicates whether the value should be edited.

Mask

Gets or sets a mask to use while the user is editing.

Max

Gets or sets the latest time that the user can enter.

Min

Gets or sets the earliest time that the user can enter.

Name

Gets or sets the name of the InputTime control.

OnClientInvalidInput

Occurs when invalid input is detected.

OnClientValueChanged

Occurs after a new time is selected.

Step

Gets or sets the number of minutes between entries in the drop-down list.

Value

Gets or sets the current input time.

Extension Methods