Hi,
I'm using a DateTimePicker in TimePicker mode to select a duration. I've set my own clockitems to provide a set of predefined durations, which work fine. However, I'd like to provide a 24:00 hour clock item as well which I can't get to work. When I set the EndTime to 24:00 a timespan of 24 hours does get added to the clock items, however it is displayed as 0:00 and when selected a 0:00 timespan is returned.
Is there a way around this? I can work around the fact that 24:00 gets converted to 0:00, but I can't find a way to make the drop down display 24:00 for the largest item.
I'm using a DateTimePicker in TimePicker mode to select a duration. I've set my own clockitems to provide a set of predefined durations, which work fine. However, I'd like to provide a 24:00 hour clock item as well which I can't get to work. When I set the EndTime to 24:00 a timespan of 24 hours does get added to the clock items, however it is displayed as 0:00 and when selected a 0:00 timespan is returned.
Is there a way around this? I can work around the fact that 24:00 gets converted to 0:00, but I can't find a way to make the drop down display 24:00 for the largest item.