Hi,
I populate the RadDateTimePicker with a default date on the server side.
The control is rendered and the user can modify the date, but should be able to restore the control to its default value.
I couldn't find a client side function which covers this. I have tried to use the defaultValue of the HTML textbox element which I can get via
- $find(dtp.ClientID).get_textBox() -
but the value is stored in the wrong format to do a Date.parse(datetime_string) and I don't want to spend lots of time on this issue.
What would be the suggested way?
Thanks.
Kind regards,
Christoph
I populate the RadDateTimePicker with a default date on the server side.
The control is rendered and the user can modify the date, but should be able to restore the control to its default value.
I couldn't find a client side function which covers this. I have tried to use the defaultValue of the HTML textbox element which I can get via
- $find(dtp.ClientID).get_textBox() -
but the value is stored in the wrong format to do a Date.parse(datetime_string) and I don't want to spend lots of time on this issue.
What would be the suggested way?
Thanks.
Kind regards,
Christoph