var monthView = ig_getWebMonthViewById("WebMonthView1");
There are two ways to reference the WebMonthView™ control on the client-side. All of WebSchedule™ controls can use the ig_getWebControlById function and pass in the Id of the control to access it on the client. Specifically for the WebMonthView, you can use the ig_getWebMonthViewById function to reference the control.
The following code shows you how to reference the control.
In Javascript:
var monthView = ig_getWebMonthViewById("WebMonthView1");