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

Definition

Namespace:Telerik.Web.UI.Calendar

Inheritance: Telerik.Web.UI.Calendar.MonthYearFastNavigation

Methods

Add cell for the specified month.

JS
AddMonthCell(Element row, Number monthIndex): void
Parameters:rowElement

The TR element to wchich the cell will be added.

monthIndexNumber

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

JS
CreateButton(String elementId, Element parentNode, String text, Function onclickFunc): void
Parameters:elementIdString

The ID to be used for the input.

parentNodeElement

The parent element to which the input will be attached.

textString

The text that will be set as a value to the input element.

onclickFuncFunction

The event handler for the OnClick function.

Creates the base layout for RadCalendar.

JS
CreateLayout(String style): void
Parameters:styleString

The style to be used for the table.

Fill the available years in the fast navigation section.

JS
FillYears(): void

Returns the current month.

JS
GetMonth(): Date
Returns:

Date

DateTime object that represents the current month.

Returns the current year.

JS
GetYear(): Date
Returns:

Date

DateTime object that represents the current year.

Scrolls to the specified year.

JS
ScrollYears(Number step): void
Parameters:stepNumber

How many years should be added to the current one.

Selects or deselects the specified cell.

JS
SelectCell(Element cell, Boolean selected): void
Parameters:cellElement

The element to be selected

selectedBoolean

Boolean value to indicate whether the cell should be selected or not.

Selects the specified month.

JS
SelectMonth(Date month): void
Parameters:monthDate

The month to be selected.

Selects the specified year.

JS
SelectYear(Date year): void
Parameters:yearDate

set the navigation cells.

JS
SetNavCells(): void

Shows the pop up window.

JS
Show(Object popup, Number x, Number y, Date month, Date year, Function exitFunc, String style): void
Parameters:popupObject

The window that will hold the content of the pop up.

xNumber

The X coordinate of the window.

yNumber

The Y coordinate of the window.

monthDateyearDate

The year to be displayed.

exitFuncFunction

Function that should be executed on exit.

styleString

String containing the style attributes that will be applied to the table element.

Displays the month-year view.

JS
ShowMonthYearView(Object popup, Number x, Number y, Date month, Date year, Function exitFunc, String style, String ownerId): void
Parameters:popupObject

The window that will hold the content of the pop up.

xNumber

The X coordinate of the window.

yNumber

The Y coordinate of the window.

monthDate

The month to be displayed.

yearDate

The year to be displayed.

exitFuncFunction

Function that should be executed on exit.

styleString

String containing the style attributes that will be applied to the table element.

ownerIdString

The ID fo of the wrapper element.

Not finding the help you need?
Contact Support