SelectWeek: function (sender, args)
sender. Event source.
args. Event information.
The SelectWeek event occurs when selecting the week in the calendar.
To execute the example, place the MonthCalendar and DateTimeEdit components in HTML page (see MonthCalendar.SelectDay event). Set the DateTimeEdit.Mode property to 1. Add the SelectWeek event handler:
MC.SelectWeek.add(function (sender, args)
{
DTE.setCurrentDate(MC.getCurrentDate())
})
After executing the example on double click on the number in the week mode the week value in the date editor is changed.
See also: