Wednesday, March 21, 2012

CalendarExtender needs OnMouseOut and OnClick events

CalendarExtender needs OnMouseOut and OnDateSelected events or at least the ability to hide itself when these events occur.

CalendarExtender currently has two modes, textbox-focus and button-click. If you have not associated a button to the Calendar, the calendar will show when the textbox has the focus, hide when it does not have the focus, but will stay visible when a value is selected.

When the calendar has an associated popup button, it will show when the button is clicked and hide when it is clicked again, and hide when a value is selected.

When the date value changes, the onchange event of the textbox itself is fired, although I may add a dateChanged event to the CalendarExtender as well.

Ron


Thank you for your help.

I have a CalendarExtender assigned to an TextBox and an Img (instead of a button so the calendar appears) within a FormView which is within a TabContainer which is in a UserControl. This works fine...But I just noticed that if you click on the Img to bring the Calendar up it stays visible while you change the tabs of the TabContainer.

I think some form of OnMouseOut event is needed as it is a bit of a problem with the calendar staying visible.

No comments:

Post a Comment