Welcome Guest Search | Active Topics | Sign In | Register

Calendar schedule control Options
Darren
Posted: Saturday, March 3, 2012 4:34:56 AM
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.
eo_support
Posted: Sunday, March 4, 2012 1:24:24 PM
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!
Darren
Posted: Sunday, March 4, 2012 8:46:41 PM
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
eo_support
Posted: Sunday, March 4, 2012 9:56:57 PM
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!
Darren
Posted: Sunday, March 4, 2012 11:12:50 PM
Rank: Newbie
Groups: Member

Joined: 3/3/2012
Posts: 8
Hi,

It works!!!. Thanks for your help.

Regards,
Darren


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.