Hi,
I am making a custom date control using UltraMaskedEdit and UltraMonthViewMulti. I create a DropdownEditorButton in ButtonsRight of the UltraMaskedEdit. Then I use event AfterActiveDayChanged of UltraMonthViewMulti to close the UltraMonthViewMulti. Everything is good except for 1 issue.
If I select the same day with current active day, the event AfterActiveDayChanged is not fired. So the month view is not closed in that case. Is there any other event that I can use to resolve this issue?
Thanks,
Hello Kim,
AfterActiveDayChange will not be called because the active day is not changed. In this case, you could use MouseDown event instead. Here is a sample implementation.
private void UltraMonthViewMulti1_MouseDown(object sender, MouseEventArgs e){ var dayObj = this.ultraMonthViewMulti1.GetDayFromPoint(e.Location);
if(dayObj != null) { this.ultraMonthViewMulti1.Visible = false; }}
If you have any question with this, please let me know.
Best regards,Yuki MitaDeveloper Support EngineerInfragistics Inc.www.infragistics.com/support