Version

CalendarMonthChanging Property

Event fired before the visible month in the calendar is changed. This event can be canceled.
Syntax
'Declaration
 
Public Property CalendarMonthChanging As String
public string CalendarMonthChanging {get; set;}
Remarks

It can be the name of an implemented function or explicit javascript statement(s). If the name of the function is used, then that event handler may contain 3 parameters.



1st parameter: reference to the WebCalendar object.

2nd parameter: visible Date.

3rd parameter: reference to the ig_EventObject. To cancel an event the cancel member should be used. The following example will prevent viewing any month of the year 2008.

if(oDate.getFullYear() == 2008) oEvent.cancel = true;
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also