In my web application I have multiple RadTimePicker controls. The user will select a value in the first control, then based upon that value, I need to set the value of the second control to that value minus x minutes. I then need the popup for the second time picker to display in intervals of n minutes for the first full hour prior plus any increment up to the hour in the first control.
I don't need help writing the code, just understanding the underlying control so I can make this happen.
Scenario: (Interval is 5 minutes, minutes to subtract is 15 minutes) TimePicker1 - User selects 7:30am - TimePicker2 is filled in with the value of 7:15am - User selects TimePicker2, popup should display all possible times between 6:00am to 7:30am in 5 minute increments.
The user settings will eliminate most of the need to actually select a time in the seond time picker, but in the event a custom value is needed, they will have that option.
I know that I can set the values server-side, but because I cannot afford the round-trip with the volume of data being processed and because I cannot ajaxify a single control on a multipageview, I am left with client-side processing.
Is there any way to manage this using the constructs of the TimePicker client side object?
I don't need help writing the code, just understanding the underlying control so I can make this happen.
Scenario: (Interval is 5 minutes, minutes to subtract is 15 minutes) TimePicker1 - User selects 7:30am - TimePicker2 is filled in with the value of 7:15am - User selects TimePicker2, popup should display all possible times between 6:00am to 7:30am in 5 minute increments.
The user settings will eliminate most of the need to actually select a time in the seond time picker, but in the event a custom value is needed, they will have that option.
I know that I can set the values server-side, but because I cannot afford the round-trip with the volume of data being processed and because I cannot ajaxify a single control on a multipageview, I am left with client-side processing.
Is there any way to manage this using the constructs of the TimePicker client side object?