Hi
i am using webmonthview after clicking month navigation button i have to get current month in code behind.
please respond me immediatly.
Hi please respond me immediatly i struck up with that problem.............
Hi,
Currently it is not possible to retrieve the CurrentMonth on the serverside.
However, it is possible via the clientside: webMonthView.getCurrentMonth()
-SteveZ
Hello,
I used the following in my javascript. But it shows me error Object Expected.
var curmonth = ig_getWebControlById("WebMonthView1");alert(curmonth.getCurrentMonth());
May I know how to get the current month displayed in WebMonthView control ?
Thanks
Hmm, what is the ID of your WebMonthView control? Is this JavaScript running before or after the WebMonthView was initialized?
var curmonth = ig_getWebControlById("WebMonthView1");if (null == curmonth) { alert("ID is not WebMonthView1 or WebMonthView1 has not been initialized yet.");} else { alert(curmonth.getCurrentMonth( ));}
This script has error detection that should trap the script error.