New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.RadWebControlTelerik.Web.UI.RadDatePicker

Events

Adds a dateSelected event handler for the raddatepicker

JS
add_dateSelected
Parameters:handlerFunction

The event handler function to attach

Adds a popupClosing event handler for the raddatepicker

JS
add_popupClosing
Parameters:handlerFunction

The event handler function to attach

Adds a popupOpening event handler for the raddatepicker

JS
add_popupOpening
Parameters:handlerFunction

The event handler function to attach

Removes a dateSelected event handler from the raddatepicker

JS
remove_dateSelected
Parameters:handlerFunction

The event handler function to remove

Removes a popupClosing event handler from the raddatepicker

JS
remove_popupClosing
Parameters:handlerFunction

The event handler function to remove

Removes a popupOpening event handler from the raddatepicker

JS
remove_popupOpening
Parameters:handlerFunction

The event handler function to remove

Methods

Clears the selection, leaving the value as unassigned.

JS
clear(): void

Returns a reference to the client object for the popup calendar.

JS
get_calendar(): Telerik.Web.UI.RadCalendar
Returns:

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.

JS
get_dateInput(): Telerik.Web.UI.RadDateInput
Returns:

Telerik.Web.UI.RadDateInput

Returns true if the control is enabled

JS
get_enabled(): Boolean
Returns:

Boolean

Returns whether the screen boundary detection will be applied.

JS
get_enableScreenBoundaryDetection(): Boolean
Returns:

Boolean

Returns the date that determines the view the popup calendar uses when the value of the date picker is not assigned.

JS
get_focusedDate(): Date
Returns:

Date

Returns the latest date the user can select.

JS
get_maxDate(): Date
Returns:

Date

Returns the latest date the user can select as string.

JS
get_maxDateStr(): String
Returns:

String

Returns the earliest date the user can select.

JS
get_minDate(): Date
Returns:

Date

Returns the earliest date the user can select as string.

JS
get_minDateStr(): String
Returns:

String

Returns the DOM element for the calendar popup button.

JS
get_popupButton(): Object
Returns:

Object

Returns the DOM element for the DIV element that contains the popup calendar.

JS
get_popupContainer(): Object
Returns:

Object

Set the popup direction

JS
get_popupDirection(): String
Returns:

String

Returns the selected date, or null if no date is selected.

JS
get_selectedDate(): Date
Returns:

Date

Returns whether the popup control (Calendar or TimeView) will be displayed when the DateInput textbox is focused.

JS
get_showPopupOnFocus(): Boolean
Returns:

Boolean

Returns the DOM element for the text box that implements the input area.

JS
get_textBox(): Object
Returns:

Object

Returns whether the control is visible

JS
get_visible(): Boolean
Returns:

Boolean

Returns the dimensions of the specified child element.

JS
getElementDimensions(Object element): Array
Parameters:elementObjectReturns:

Array

Returns the x and y coordinates of the specified child element.

JS
getElementPosition(Object el): Array
Parameters:elObjectReturns:

Array

Hides the popup calendar if it is showing.

JS
hidePopup(): void

Returns true if the value is unassigned.

JS
isEmpty(): void

Returns whether the popup calendar is visible.

JS
isPopupVisible(): void

Repaints the control

JS
repaint(): void
JS
set_calendar(): void
JS
set_dateInput(): void

Enables/disables the control

JS
set_enabled(Boolean value): void
Parameters:valueBoolean

Sets whether the screen boundary detection will be applied.

JS
set_enableScreenBoundaryDetection(Boolean value): void
Parameters:valueBoolean

Sets the date that determines the view the popup calendar uses when the value of the date picker is not assigned.

JS
set_focusedDate(Date value): void
Parameters:valueDate

Sets the latest date the user can select.

JS
set_maxDate(Date value): void
Parameters:valueDate

Sets the earliest date the user can select.

JS
set_minDate(Date value): void
Parameters:valueDate

Returns the popup direction

JS
set_popupDirection(String value): void
Parameters:valueString

Assigns the value of the date picker.

JS
set_selectedDate(Date newDate): void
Parameters:newDateDate

Sets whether the popup control (Calendar or TimeView) will be displayed when the DateInput textbox is focused.

JS
set_showPopupOnFocus(Boolean value): void
Parameters:valueBoolean

Shows/hides the control

JS
set_visible(Boolean value): void
Parameters:valueBoolean

Displays the popup calendar at the specified coordinates. If the two parameters are omitted, the popup appears below the input area.

JS
showPopup(Number x, Number y): void
Parameters:xNumberyNumber

Toggles the visible state of the popup calendar.

JS
togglePopup(): void
Not finding the help you need?
Contact Support