Version

MonthChanging Property

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

It can be the name of implemented function or explicit javascript statement(s). If the name of 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 event the cancel member should be used. Following example will prevent viewing any month of 2008 year.

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