Definition
Namespace:Telerik.Web.UI
Inheritance: Telerik.Web.UI.RadWebControlTelerik.Web.UI.RadDatePicker
Events
Adds a dateSelected event handler for the raddatepicker
add_dateSelected
The event handler function to attach
Adds a popupClosing event handler for the raddatepicker
add_popupClosing
The event handler function to attach
Adds a popupOpening event handler for the raddatepicker
add_popupOpening
The event handler function to attach
Removes a dateSelected event handler from the raddatepicker
remove_dateSelected
The event handler function to remove
Removes a popupClosing event handler from the raddatepicker
remove_popupClosing
The event handler function to remove
Removes a popupOpening event handler from the raddatepicker
remove_popupOpening
The event handler function to remove
Methods
Clears the selection, leaving the value as unassigned.
clear(): void
Returns a reference to the client object for the popup calendar.
get_calendar(): Telerik.Web.UI.RadCalendar
Telerik.Web.UI.RadCalendar
Returns a reference to the client object for the input area. For details on using this object, see the RadInput documentation.
get_dateInput(): Telerik.Web.UI.RadDateInput
Telerik.Web.UI.RadDateInput
Returns true if the control is enabled
get_enabled(): Boolean
Boolean
Returns whether the screen boundary detection will be applied.
get_enableScreenBoundaryDetection(): Boolean
Boolean
Returns the date that determines the view the popup calendar uses when the value of the date picker is not assigned.
get_focusedDate(): Date
Date
Returns the latest date the user can select.
get_maxDate(): Date
Date
Returns the latest date the user can select as string.
get_maxDateStr(): String
String
Returns the earliest date the user can select.
get_minDate(): Date
Date
Returns the earliest date the user can select as string.
get_minDateStr(): String
String
Returns the DOM element for the calendar popup button.
get_popupButton(): Object
Object
Returns the DOM element for the DIV element that contains the popup calendar.
get_popupContainer(): Object
Object
Set the popup direction
get_popupDirection(): String
String
Returns the selected date, or null if no date is selected.
get_selectedDate(): Date
Date
Returns whether the popup control (Calendar or TimeView) will be displayed when the DateInput textbox is focused.
get_showPopupOnFocus(): Boolean
Boolean
Returns the DOM element for the text box that implements the input area.
get_textBox(): Object
Object
Returns whether the control is visible
get_visible(): Boolean
Boolean
Returns the dimensions of the specified child element.
getElementDimensions(Object element): Array
Array
Returns the x and y coordinates of the specified child element.
getElementPosition(Object el): Array
Array
Hides the popup calendar if it is showing.
hidePopup(): void
Returns true if the value is unassigned.
isEmpty(): void
Returns whether the popup calendar is visible.
isPopupVisible(): void
Repaints the control
repaint(): void
set_calendar(): void
set_dateInput(): void
Enables/disables the control
set_enabled(Boolean value): void
Sets whether the screen boundary detection will be applied.
set_enableScreenBoundaryDetection(Boolean value): void
Sets the date that determines the view the popup calendar uses when the value of the date picker is not assigned.
set_focusedDate(Date value): void
Sets the latest date the user can select.
set_maxDate(Date value): void
Sets the earliest date the user can select.
set_minDate(Date value): void
Returns the popup direction
set_popupDirection(String value): void
Assigns the value of the date picker.
set_selectedDate(Date newDate): void
Sets whether the popup control (Calendar or TimeView) will be displayed when the DateInput textbox is focused.
set_showPopupOnFocus(Boolean value): void
Shows/hides the control
set_visible(Boolean value): void
Displays the popup calendar at the specified coordinates. If the two parameters are omitted, the popup appears below the input area.
showPopup(Number x, Number y): void
Toggles the visible state of the popup calendar.
togglePopup(): void