MonthCalendar.MinDateChanged

Syntax

MinDateChanged: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The MinDateChanged event is fired on changing or setting minimum date value with the MinDate property.

Example

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

var minDate = new Date(2004, 0, 1, 9, 0, 0);

Add the MinDateChanged event handler:

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

     {

          alert("Minimal date was set")

     })

Enter to the browser console:

MC.setMinDate(minDate)

 

Press the Enter key: The Minimal date was set message is displayed.

See also:

MonthCalendar