Welcome Guest Search | Active Topics | Sign In | Register

Can't scroll to month before month in Calendar.FirstMonth Options
Abdu
Posted: Friday, September 17, 2010 4:59:32 PM
Rank: Member
Groups: Member

Joined: 9/1/2010
Posts: 28
I wanted to show my 4 month calendar view starting from the previous month so I used the First Month property. Now the calendar is locked from scrolling to before the previous month.
I need to scroll back to any month.
eo_support
Posted: Friday, September 17, 2010 5:09:31 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

The purpose of FirstMonth is to prevent you from scrolling before that. To set the initial visible month, set the Calendar's SelectedDate property.

Thanks!
Abdu
Posted: Friday, September 17, 2010 6:57:10 PM
Rank: Member
Groups: Member

Joined: 9/1/2010
Posts: 28
It's not working for me. If I do: Calendar.SelectedDate = Convert.ToDateTime("01/01/2010"), the first visible month is not January.
eo_support
Posted: Friday, September 17, 2010 7:13:33 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Ah. You are right. Please use VisibleDate instead:

http://doc.essentialobjects.com/library/1/eo.web.calendar.visibledate.aspx

Thanks!


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.