MonthCalendar.SelectMonth

Syntax

SelectMonth: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The SelectMonth event occurs when selecting the month in the calendar.

Example

To execute the example, place the MonthCalendar and DateTimeEdit components in HTML page (see MonthCalendar.SelectDay event). Set the DateTimeEdit.Mode property to 2. Add the SelectMonth event handler:

MC.SelectMonth.add(function (sender, args)

{

       DTE.setCurrentDate(MC.getCurrentDate())

})

After executing the example on double click on the button with the month name in the calendar month selection mode the date editor value is changed.

See also:

MonthCalendar