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

RadMonthYearPicker Object

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

Properties

NameParametersReturn TypeDescription
get_selectedDatenoneDateReturns the selected date, or null if no date is selected.
set_selectedDateDatenoneAssigns the value of the monthyear picker.
isEmptynonebooleanReturns true if the value is unassigned.
get_maxDatenoneDateReturns the latest date the user can select.
set_maxDateDatenoneSets the latest date the user can select.
get_minDatenoneDateReturns the earliest date the user can select.
set_minDateDatenoneSets the earliest date the user can select.
get_focusedDatenoneDateReturns the date that determines the view the popup calendar uses when the value of the date picker is not assigned.
set_focusedDateDatenoneSets the date that determines the view MonthYearView uses when the value of the picker is not assigned.
get_enablednonebooleanGets whether the control is enabled.
set_enabledbooleannoneSets whether the control is enabled and operable by the user.
get_enableScreenBoundaryDetectionbooleannoneGets whether the control switches the popup direction automatically, depending on the proximity of the page boundaries.
set_enableScreenBoundaryDetectionbooleannoneSets whether the control switches the popup direction automatically, depending on the proximity of the page boundaries.
get_popupDirectionnoneTelerik.Web.RadDatePickerPopupDirectionGets the (default) popup direction of the monthyearview popup. This property is related to the screen boundary detection.
set_popupDirectionTelerik.Web.RadDatePickerPopupDirectionnoneSets the (default) popup direction of the monthyearview popup. This property is related to the screen boundary detection.
isPopupVisiblenonebooleanReturns whether the popup view is visible.
get_dateInputnoneRadDateInputReturns a reference to the client object for the input area. For details on using this object, see the RadInput documentation.
get_elementnoneHTML elementReturns the DOM element for the entire RadMonthYearPicker control.
get_textBoxnoneHTML elementReturns the DOM element for the text box that implements the input area.
get_popupButtonnoneHTML elementReturns the DOM element for the calendar popup button.

Methods

NameParametersReturn TypeDescription
clearnonenoneClears the selection, leaving the value as unassigned.
showPopupinteger, integernoneDisplays the popup view at the specified coordinates. If the two parameters are omitted, the popup appears below the input area.
hidePopupnonenoneHides the popup calendar if it is showing.
togglePopupnonenoneToggles the visible state of the popup calendar.
navigateToDateDatenoneCauses the calendar to switch to the view containing the specified date.
In this article
PropertiesMethods
Not finding the help you need?
Contact Support