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.RadMonthYearPicker

Events

Adds a dateSelected event handler for the radmonthyearpicker

JS
add_dateSelected
Parameters:handlerFunction

The event handler function to attach

Adds a monthSelected event handler for the radmonthyearpicker

JS
add_monthSelected
Parameters:handlerFunction

The event handler function to attach

Adds a popupClosing event handler for the radmonthyearpicker

JS
add_popupClosing
Parameters:handlerFunction

The event handler function to attach

Adds a popupOpening event handler for the radmonthyearpicker

JS
add_popupOpening
Parameters:handlerFunction

The event handler function to attach

Adds a viewChanged event handler for the radmonthyearpicker

JS
add_viewChanged
Parameters:handlerFunction

The event handler function to attach

Adds a yearSelected event handler for the radmonthyearpicker

JS
add_yearSelected
Parameters:handlerFunction

The event handler function to attach

Removes a dateSelected event handler from the radmonthyearpicker

JS
remove_dateSelected
Parameters:handlerFunction

The event handler function to remove

Removes a monthSelected event handler from the radmonthyearpicker

JS
remove_monthSelected
Parameters:handlerFunction

The event handler function to remove

Removes a popupClosing event handler from the radmonthyearpicker

JS
remove_popupClosing
Parameters:handlerFunction

The event handler function to remove

Removes a popupOpening event handler from the radmonthyearpicker

JS
remove_popupOpening
Parameters:handlerFunction

The event handler function to remove

Removes a viewChanged event handler from the radmonthyearpicker

JS
remove_viewChanged
Parameters:handlerFunction

The event handler function to remove

Removes a yearSelected event handler from the radmonthyearpicker

JS
remove_yearSelected
Parameters:handlerFunction

The event handler function to remove

Methods

Clears the selection, leaving the value as unassigned.

JS
clear(): void

Returns the culture used by RadDateInput to format the date.

JS
get_culture(): String
Returns:

String

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 an array with the fast navigation settings. The settings are, in order, TodayButtonCaption, OkButtonCaption, CancelButtonCaption, DateIsOutOfRangeMessage, EnableTodayButtonSelection.

JS
get_monthYearNavigationSettings(): Array
Returns:

Array

Returns the DOM element for the calendar popup button.

JS
get_popupButton(): 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 real skin name for the control user interface. If Skin is not set, returns "Default".

JS
get_skin(): String
Returns:

String

Returns object containing all styles applied to the control.

JS
get_stylesHash(): Object
Returns:

Object

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

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

Sets whether the screen boundary detection will be applied.

JS
navigateToDate(Boolean value): void
Parameters:valueBoolean

Raise the dateSelected event.

JS
raise_dateSelected(Function handler): void
Parameters:handlerFunction

Raise the monthSelected event.

JS
raise_monthSelected(Function handler): void
Parameters:handlerFunction

Raise the popupClosing event.

JS
raise_popupClosing(Function handler): void
Parameters:handlerFunction

Raise the popupOpening event.

JS
raise_popupOpening(Function handler): void
Parameters:handlerFunction

Raise the viewChanged event.

JS
raise_viewChanged(Function handler): void
Parameters:handlerFunction

Raise the yearSelected event.

JS
raise_yearSelected(Function handler): void
Parameters:handlerFunction

Repaints the control

JS
repaint(): 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

Sets the fast navigation settings. The settings are, in order, TodayButtonCaption, OkButtonCaption, CancelButtonCaption, DateIsOutOfRangeMessage, EnableTodayButtonSelection. Changes you make to these settings have an effect only if you make them before the first time the month/year navigation popup is displayed.

JS
set_monthYearNavigationSettings(Array value): void
Parameters:valueArray

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