|
Rank: Newbie Groups: Member
Joined: 3/3/2012 Posts: 8
|
Hi, I am trying the calendar schedule control now. I am using default asp.net calendar to set the value of eo.Calendar. Pls refer to the picture below. The eo Calendar works perfect when i set the date to next month. But when i set it to previous month, eo Calendar is not working. For eg, if the default Calender month is March, i set it to April, it works fine. But when i set it back to March, it does not work. When i debug in Calendar1_DayRender events, e.Day.Date return April but it should return March since i hv set it to March. Any idea to resolved this problem?? Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Can you tell us exactly what you were using to "use default asp.net calendar to set the value of eo.Calendar"? We will need you to post the corresponding code in order to understand how you wired the two together.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/3/2012 Posts: 8
|
Hi,
When user select the date in calendar, i call the following event to set eo.Calendar FirstMonth value. Here is the code.
void uxCalendar_SelectionChanged(object sender, EventArgs e) { this.Calendar1.FirstMonth = this.uxCalendar.SelectedDate; }
Thanks. Regards, Darren
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Please set VisibleDate instead. FirstMonth and LastMonth define the valid range for VisibleDate. VisibleDate defines the first visible month.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/3/2012 Posts: 8
|
Hi,
It works!!!. Thanks for your help.
Regards, Darren
|
|