This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi - how do I control the available date range for the Metro Elements DateTimePicker? Currently the Year combo shows values from 0 to 9999; I'm doing a date-of-birth control, so want it to be more like 1900 to 2012. cheers :) |
|
|
Hello Ian There currently isn't any min/max properties, but we'll certainly be adding this feature in soon. I'll let you know once this is available. Jason Fauchelle |
|
|
Hello Ian In the next nightly build, the DateTimePicker will have a Minimum and Maximum property. Although the type is DateTime, the control only currently considers the year part which should be enough for your scenario. Set the Minimum to be the first day of 1900, and the Maximum could either be DateTime.Now or the end of the current year. Let me know if you need it to support month and day parts etc and I'll boost the priority of this. Jason Fauchelle |
|
|
Thanks! |
|