Thank you for writing.
The issue you experience is a consequence of the complicated architecture of our controls. The editors in our suite hosts a standard MS TextBox control. This is the most secure approach to ensure that our controls mimic the behavior of the standard MS controls. In this sense, if you have a closer look at the ActiveControl
when the message box pops up, you will see that ActiveControl
is not a RadTextBox
, but a HostedTextBoxBase
. The same behavior will appear with the other editor controls, e.g. RadSpinEditor, RadDateTimePicker etc.
As a workaround, I suggest to check the Name
property of the ActiveControl
and it if is not set, return the Name
of its Parent
name = this.ActiveControl.Name;
name = this.ActiveControl.Parent.Name;
I hope this helps. Let me know if you encounter further issues. I will do my best to assist you.
the Telerik team