Hi Kamen,
We can handle the KeyDown event in MonthCalendarAdv using the following code.
[Code]
this.monthCalendarAdv1.Controls[0].KeyDown += new KeyEventHandler(monthCalendarAdv1_KeyDown);
// To close the pop up on Esc key
void monthCalendarAdv1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Escape)
if (this.popupControlContainer1.IsShowing())
this.popupControlContainer1.HidePopup(PopupCloseType.Canceled);
}
I have attached a sample that illustrates the same. Please have a look at it and let me know if this helps you.
http://websamples.syncfusion.com/samples/Tools.Windows/F62153/Main.htmBest regards,
Golda