Definition
Namespace:Telerik.Web.UI.Calendar
Inheritance: Telerik.Web.UI.Calendar.MonthYearFastNavigation
Methods
Add cell for the specified month.
AddMonthCell(Element row, Number monthIndex): void
The TR element to wchich the cell will be added.
monthIndexNumberThe index of the month in which the cell will be added.
Creates a button with specified elementId, text, onClick event handler and append it to the parentNode element.
CreateButton(String elementId, Element parentNode, String text, Function onclickFunc): void
The ID to be used for the input.
parentNodeElementThe parent element to which the input will be attached.
textStringThe text that will be set as a value to the input element.
onclickFuncFunctionThe event handler for the OnClick function.
Creates the base layout for RadCalendar.
CreateLayout(String style): void
The style to be used for the table.
Fill the available years in the fast navigation section.
FillYears(): void
Returns the current month.
GetMonth(): Date
Date
DateTime object that represents the current month.
Returns the current year.
GetYear(): Date
Date
DateTime object that represents the current year.
Scrolls to the specified year.
ScrollYears(Number step): void
How many years should be added to the current one.
Selects or deselects the specified cell.
SelectCell(Element cell, Boolean selected): void
The element to be selected
selectedBooleanBoolean value to indicate whether the cell should be selected or not.
Selects the specified month.
SelectMonth(Date month): void
The month to be selected.
Selects the specified year.
SelectYear(Date year): void
set the navigation cells.
SetNavCells(): void
Shows the pop up window.
Show(Object popup, Number x, Number y, Date month, Date year, Function exitFunc, String style): void
The window that will hold the content of the pop up.
xNumberThe X coordinate of the window.
yNumberThe Y coordinate of the window.
monthDateyearDateThe year to be displayed.
exitFuncFunctionFunction that should be executed on exit.
styleStringString containing the style attributes that will be applied to the table element.
Displays the month-year view.
ShowMonthYearView(Object popup, Number x, Number y, Date month, Date year, Function exitFunc, String style, String ownerId): void
The window that will hold the content of the pop up.
xNumberThe X coordinate of the window.
yNumberThe Y coordinate of the window.
monthDateThe month to be displayed.
yearDateThe year to be displayed.
exitFuncFunctionFunction that should be executed on exit.
styleStringString containing the style attributes that will be applied to the table element.
ownerIdStringThe ID fo of the wrapper element.