views:

487

answers:

1

I am using the standard asp:Calendar control. When a user clicks a date, I am showing a modal popup by handling the SelectionChanged event.

However this means that nothing happens if the user clicks a date, then closes the popup, then clicks the same date again.

I'd rather be handling a DateClick event, and do away with the concept of having a selected date altogether.

Can this be achieved using the asp:Calendar?

A: 

Found a workaround:

In the SelectionChanged event handler, just call

calendar.SelectedDates.Clear();
Richard Ev