Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Thanks for the reply. Indeed, setting AcceptsReturn to false will prevent creating new line but it still creates a new line when Ctrl + Enter keys are pressed. We used this key combination as a shortcut in our application. Is there a way to disable this?
0
Accepted
Petar Mladenov
Telerik team
answered on 24 Dec 2014, 12:26 PM
Hello Sherwin,
You can use the KeyDown event handler of the RadMaskedTextInput like so:
if (e.Key == Key.Enter && Keyboard.Modifiers == ModifierKeys.Control)
{
e.Handled = true;
}
}
We hope this fits well in your scenario.
Regards,
Petar Mladenov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.