MonthCalendar.MaxDateChanged

Syntax

MaxDateChanged: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The MaxDateChanged event occurs on changing or setting maximum date value with the MaxDate property.

Example

To execute the example, create the MonthCalendar component (see Example of Creating the MonthCalendar Component). Create variable that contains the maximal possible date date:

var maxDate = new Date(2014, 11, 31, 19, 0, 0);

Add the MaxDateChanged event handler:

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

{

     alert("Maximal date was set")

})

Enter to the browser console:

MC.setMaxDate(maxDate)

Press the Enter key: The maximal possible date value is set, the Maximal date was set message is displayed.

Seebsp;also:

MonthCalendar