| KaxDateInput Class |
Namespace: Kettic.AspNet.Controls
The KaxDateInput type exposes the following members.
| Name | Description | |
|---|---|---|
| KaxDateInput |
| Name | Description | |
|---|---|---|
| Clear |
Clears the selected date of the KaxDateInput control and displays a blank date.
| |
| GetAttributes | ||
| GetClassName | ||
| GetComponentName | ||
| GetConverter | ||
| GetDefaultEvent | ||
| GetDefaultProperty | ||
| GetEditor | ||
| GetEvents | ||
| GetEvents(Attribute) | ||
| GetProperties | ||
| GetProperties(Attribute) | ||
| GetPropertyOwner |
| Name | Description | |
|---|---|---|
| Culture |
Gets or sets the culture used by KaxDateInput to format the
date.
| |
| DateFormat |
Gets or sets the date and time format used by
KaxDateInput.
| |
| DbSelectedDate |
Gets or sets the date content of KaxDateInput in a
database-friendly way.
| |
| DisplayDateFormat | Gets or sets the display date format used by KaxDateInput.(Visible when the control is not on focus.) | |
| IncrementSettings | ||
| IsEmpty | Used to determine if KaxDateInput is empty. | |
| MaxDate |
Gets or sets the largest date value allowed by
KaxDateInput.
| |
| MinDate |
Gets or sets the smallest date value allowed by
KaxDateInput.
| |
| OnClientDateChanged | Obsolete.
Gets or sets the JavaScript event handler fired whenever the date of
KaxDateInput changes.
| |
| SelectedDate | Gets or sets the date content of KaxDateInput. | |
| ShortYearCenturyEnd |
Gets or sets a value that indicates the end of the century that is used to interpret
the year value when a short year (single-digit or two-digit year) is entered in the input.
| |
| ShortYearCenturyStart |
Gets a value that indicates the start of the century that is used to interpret
the year value when a short year (single-digit or two-digit year) is entered in the input.
| |
| Text | (Overrides KaxInputControlText.) | |
| ValidationDate | Obsolete.
This property is no longer used. The recomended alternative is the Text property.
|
private void Page_Load(object sender, System.EventArgs e) { KaxDateInput dateInput = new KaxDateInput(); dateInput.ID = "dateInput"; dateInput.Format = "d"; //Short date format dateInput.Culture = new CultureInfo("en-US"); dateInput.SelectedDate = DateTime.Now; DateInputPlaceholder.Controls.Add(dateInput); }