Thank you for bringing this issue to our attention. I investigated it and I can confirm that this is a bug, which I logged in our PITS
. Also I updated you Telerik's points accordingly.
Until a fix is provided I can suggest you a workaround - you can handle the KeyDown
event for the TextBox
in the ShapeEditTemplate
and check if the pressed key is Delete and if the TextBox's
text is empty. If both conditions are fulfilled you have to handle the event. Here is a snippet ot the code I used for this approach:
private void TextBox_KeyDown(object sender, KeyEventArgs e)
if (e.Key.Equals(Key.Delete) && (sender as TextBox).Text == String.Empty)
e.Handled = true;
Please give this workaround a try and let us know if it works for you.
All the best,
the Telerik team