4 Answers, 1 is accepted
You can check the sender by putting a breakpoint in Visual Studio. The attached image shows the code for getting the control name as well.
Should you have any other questions do not hesitate to ask.
Hi Dimitar, thank you for replying.
Yes I know which is the sender, the sender is of type RadTextBoxControlElement, my problem is how can I find its control, whose name interests me because it is the key of an autogenerated dynamic property (the radtextboxes too are dynamically generated).
I tried some options using intellisense but did not find anything good.
At the moment i'm quite happy with the form's ActiveControl property but maybe it is possible to extract the control from the RadTextBoxElement.
Yes, there is a way to get the control and its name. The following can be used for any Telerik WinForms control:
Your solution to use the active control is good as well.
Let me know if you have additional questions.
Hi Dimitar, thank you, that works fine.