I agree with above. However i was wondering if its possible to call the control to hide/close with theOnClientDateSelectionChanged?
If I use the onfocus example. And I select a date, that should also allow the calendar to close.
I think if you set thePopupButtonID to the ID of the target textbox, you will get the effect you are looking for. "PopupButtonID" is kind of a dumb name if you ask me. "TriggerID" might be more appropriate.
An option to clear the date would be nice.
True - when I set the popupbuttonid to the textbox, that does work. But then when you click outside of the calendar - anywhere on the page. The calendar doesn't close. It needs to have both behaviors.
jstengel:
If I use the onfocus example. And I select a date, that should also allow the calendar to close.
I think if you set thePopupButtonID to the ID of the target textbox, you will get the effect you are looking for. "PopupButtonID" is kind of a dumb name if you ask me. "TriggerID" might be more appropriate.
An option to clear the date would be nice.
Also that method breaks the onfocus - where the calendar doesn't hide when you tab out.
No comments:
Post a Comment