Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
WebWeekView and WebDayView getCurrentMonth();
posted
Is there any way to obtain the current date of a WebWeekView or WebDayView like we do in WebMonthView? (Using Javascript)

WORKING EXAMPLE
// Get MonthView
var WebCalendarView = ig_getWebControlById("WebMonthView1");
// Alert the current Date for the WebMonth
alert( WebCalendarView.getCurrentMonth() );

NON-WORKING EXAMPLE
// Get WeekView
var WebCalendarView = ig_getWebControlById("WebWeekView1");
// Following throws an error
alert( WebCalendarView.getCurrentMonth() );