Feb 22, 2011, 11:41 AM
[CLOSED] CalendarPanel.weekview.setStartDate bug
Hi
Just use the basic calendar example and add a weekview:
Weekview1 is not defined:
Just use the basic calendar example and add a weekview:
<WeekView ID="Weekview1" runat="server" Showheader="true" Showweeklinks="true" Showweeknumbers="true" DDMoveEventText="(not supported)" Split="true" DayCount="7" ShowTime="false" />
In a direct event call:var StartCalendarWeek = new DateTime(2011, 2, 28);
CalendarPanel1.WeekView.SetStartDate(StartCalendarWeek);
I get a JS error: Weekview1 is not defined:
({script:"Weekview1.setStartDate(new Date(2011,1,28));"})
Weekview1.setStartDate(new Date(2011,1,28));
Last edited by Daniil; Feb 23, 2011 at 1:10 PM.
Reason: Please use [CODE] tags, [CLOSED]