To reproduce:
Add a RadRibbonBar, associate AcceptButton and CancelButton and subscribe to their events. Run the application press escape and the CancelButton's event should be fired. Press enter - no results.
Workaround:
protected override bool ProcessCmdKey(ref System.Windows.Forms.Message msg, System.Windows.Forms.Keys keyData)
{
if (keyData == System.Windows.Forms.Keys.Enter)
{
this.AcceptButton.PerformClick();
}
return base.ProcessCmdKey(ref msg, keyData);
}
Resolution:
The issue is fixed in Telerik`s RadForm and RadRibbonForm. If you use MS Form, this is still not working.