Welcome Guest Search | Active Topics | Sign In | Register

DatePicker default date when showing calendar Options
MarkITP
Posted: Monday, March 8, 2010 2:29:28 PM
Rank: Member
Groups: Member

Joined: 10/13/2009
Posts: 14
I have a datepicker control on my page. I used to have displaying a default value in the date field via the "this.dpDateReady.SelectedDate = DateTime.Now.Date;". I have since commented out that line b/c we want the user to manually choose a date and not take the default date shown. That being said, the field shows as empty until a date is entered via a keyed in date or one specified from the dropdown calendar. The problem is that dropdown calendar does not default to today's date, rather it shows a date from Sept. 2009. I would like the calendar to show today's date as the default when the calendar pops up. Can you help? Thanks in advance.
MarkITP
Posted: Monday, March 8, 2010 2:34:19 PM
Rank: Member
Groups: Member

Joined: 10/13/2009
Posts: 14
Nevermind....I fixed it using the "this.dpDateReady.VisibleDate" property. Thanks anyway.
eo_support
Posted: Monday, March 8, 2010 3:04:26 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Glad that you found it. Thank you very much for the update!


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.