This project is read-only.
1
Vote

DateTimePicker - Initial date and time is incorrect

description

When the DateTimePicker is shown I expect it to show the date and times to be the ones set in its SelectedDateTime property, but neither the dates calendar not the time is the one in that property.
The date calendar shows the current date and year and the time shown is the current time.

file attachments

comments

dornatsky wrote Nov 5, 2010 at 9:08 PM

This issue can be fixed by placing Date- and TimePicker selected value intialization before subscribing to "Changed" events. See attachment.

ido_ran wrote Mar 29, 2011 at 8:03 PM

I have repro this problem and fixed it, I should upload fix source code in the next few days.

wrote Feb 14, 2013 at 8:48 PM