Version

CalendarValueChanging Property

Event fired before the selected date in the calendar was changed. This event can be canceled.
Syntax
'Declaration
 
Public Property CalendarValueChanging As String
public string CalendarValueChanging {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: selected Date.

3rd parameter: reference to the ig_EventObject. To cancel this event the cancel member should be used. Following example will prevent selecting 10th day in any month.

if(oDate.getDate() == 10) 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