I have a form that collects user parameters to print a report. There are two DateTimePickers to let the user select a date range for the report. The selection of a date range is optional so I set the From picker to a date before any data could be present.
If the user wants to select a date range, the from field is set to a very old date so it takes a long time to get to any current dates. Whe I'd like to do is when the user drops down the picker, reset the date to today and let the user scroll from there.
I tried the dropdown even in the picker, but the new date doesn't get set until the user has already selected a date.
Any suggestions on how to get this type of UI behavior? Also any better suggestions to streamline the process?
The main objective it to collect from and to dates from the user is they want to select them and collect wide ranging dates if the user doesn't enter any.
Thanks,
Bernie
If the user wants to select a date range, the from field is set to a very old date so it takes a long time to get to any current dates. Whe I'd like to do is when the user drops down the picker, reset the date to today and let the user scroll from there.
I tried the dropdown even in the picker, but the new date doesn't get set until the user has already selected a date.
Any suggestions on how to get this type of UI behavior? Also any better suggestions to streamline the process?
The main objective it to collect from and to dates from the user is they want to select them and collect wide ranging dates if the user doesn't enter any.
Thanks,
Bernie