|
Rank: Member Groups: Member
Joined: 12/5/2008 Posts: 27
|
How do you set the DateTime Picker control to default to the current Month when it displays? It always defaults to January.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You would set the DatePicker's SelectedDate property. For example:
Code: C#
DatePicker1.SelectedDate = DateTime.Now;
You can also set this property at design time through the property window. Thanks!
|
|
Rank: Member Groups: Member
Joined: 12/5/2008 Posts: 27
|
What I should have asked is what property of the control do I set so when the user clicks the calendar icon it displays the current month for day selections...
Sorry
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You would set VisibleDate.
Thanks!
|
|