trapping a click on calendar control
-
On the standard asp.net calendar control how can I pick up the fact that the selected date has been clicked? I have created a user control that displays the calendar control within a panel when a button is clicked. When the selection is changed the panel is hidden. Works ace except that if the currently selected date is clicked I also want to disappear the panel. Clicking on the selected date doesn’t disappear the thing, and I can’t find another event to trap the click on the calendar. Can anyone help? Its driving me crazy. The user can close the calendar by clicking the button again, but I know my users and there will be much complaining about it not disappearing when they select the same day, and I would kinda agree with them too! thanks in advance Cheers Ian