Thank you for writing.
The Value property of RadDateTimePicker is of type DateTime. Since DateTime is a Value Type (but not a Reference Type), you can't assign null
to it. The default behavior of RadDateTimePicker is to get the MinDate
value and set it to the NullDate
property. By default this value is 1/1/1900.
In order to get the current month in the RadCalendar dropdown, you should access and manipulate the RadCalendar instance. Please consider the following code snippet:
sender, EventArgs e)
RadDateTimePickerCalendar calendarBehavior =
RadCalendar calendar = calendarBehavior.Calendar
calendar.FocusedDate = DateTime.Now;
I hope this helps.
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking
system and vote to affect the priority of the items