jQueryUI: Datepicker doesn't work within Dialog

jQueryUI: Datepicker doesn't work within Dialog

Hello all,

For some reason, if I use the Datepicker within Dialog (both part of jQuery UI), the Datepicker doesn't work. If I use a TextBox (asp.net control, equivalent to type input=text) outside of the Dialog, the Datepicker works just fine. Any suggestion on how to make this work?

Thank you very much,
Kenny.