How to fire event when selecting date on DateTimeControl?


Remember to set AutoPostBack to true if you want the control to react on user selection. This is a nice read about the DateTimeControl that describes all its features.

The DateChanged event is described at MSDN:

DateTimeControl.DateChanged event

| improve this answer | |

You can Override the OnPickerFinish() function in DatePicker.js to fire the event when the date is updated from datepicker control

function OnPickerFinish(resultfield)
    if (resultfield.id == MyDateField.id)
         alert("Date changed...");
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.