Hey all,
I have a time picker control that allows me to pick a time from a set of business hours. Normally, those hours run from around 9AM until (at the latest) 10PM. Since the times appear within the same day, there is no problem. Occasionally, however, our business hours go until around 3AM.
I can set the min/max times well enough. The control renders the time blocks (every 30 minutes) appropriately, but I cannot select or enter any time past midnight (Even though the times are rendered in the control). I can validate that the selected time falls between the established min/max date-time during the OnSelecting event but it still throws an error and prevents the time from being selected.
How do i get around this? This is a pretty significant business need for us, and i would hate to have to render the control based upon what the current time is, especially since our business folks may have to go back and enter data retroactively.
Help?
Sean Williams
Software Developer
Seaworld Parks & Entertainment
I have a time picker control that allows me to pick a time from a set of business hours. Normally, those hours run from around 9AM until (at the latest) 10PM. Since the times appear within the same day, there is no problem. Occasionally, however, our business hours go until around 3AM.
I can set the min/max times well enough. The control renders the time blocks (every 30 minutes) appropriately, but I cannot select or enter any time past midnight (Even though the times are rendered in the control). I can validate that the selected time falls between the established min/max date-time during the OnSelecting event but it still throws an error and prevents the time from being selected.
How do i get around this? This is a pretty significant business need for us, and i would hate to have to render the control based upon what the current time is, especially since our business folks may have to go back and enter data retroactively.
Help?
Sean Williams
Software Developer
Seaworld Parks & Entertainment