New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

RadDatePicker object

The following table lists the most important properties and methods of the RadDatePicker client-side object.

Properties

NameParametersReturn TypeDescription
get_selectedDateDateReturns the selected date, or null if no date is selected.
set_selectedDateDateAssigns the value of the date picker.
isEmptybooleanReturns true if the value is unassigned.
get_maxDateDateReturns the latest date the user can select.
set_maxDateDateSets the latest date the user can select.
get_minDateDateReturns the earliest date the user can select.
set_minDateDateSets the earliest date the user can select.
get_focusedDateDateReturns the date that determines the view the popup calendar uses when the value of the date picker is not assigned.
set_focusedDateDateSets the date that determines the view the popup calendar uses when the value of the date picker is not assigned.
get_enabledbooleanGets whether the control is enabled.
set_enabledbooleanSets whether the control is enabled and operable by the user.
get_enableScreenBoundaryDetectionbooleanGets whether the control switches the popup direction automatically, depending on the proximity of the page boundaries.
set_enableScreenBoundaryDetectionbooleanSets whether the control switches the popup direction automatically, depending on the proximity of the page boundaries.
get_popupDirectionTelerik.Web.RadDatePickerPopupDirectionGets the (default) popup direction of the calendar and timeview popups. This property is related to the screen boundary detection.
set_popupDirectionTelerik.Web.RadDatePickerPopupDirectionSets the (default) popup direction of the calendar and timeview popups. This property is related to the screen boundary detection.
isPopupVisiblebooleanReturns whether the popup calendar is visible.
get_calendarRadCalendarReturns a reference to the client object for the popup calendar.
get_dateInputRadDateInputReturns a reference to the client object for the input area. For details on using this object, see the RadInput documentation.
get_elementHTML elementReturns the DOM element for the entire RadDatePicker control.
get_textBoxHTML elementReturns the DOM element for the text box that implements the input area.
get_popupButtonHTML elementReturns the DOM element for the calendar popup button.
get_popupContainerHTML elementReturns the DOM element for the
that contains the popup calendar.

Methods

NameParametersReturn TypeDescription
clearClears the selection, leaving the value as unassigned.
showPopupinteger, integerDisplays the popup calendar at the specified coordinates. If the two parameters are omitted, the popup appears below the input area (see example below).
hidePopupHides the popup calendar if it is showing.
togglePopupToggles the visible state of the popup calendar.

See Also

In this article
PropertiesMethodsSee Also
Not finding the help you need?
Contact Support