All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Mouse Down event invalid.
Hi chaoyuan,
Thank you for the provided code snippet.
I am assuming that the event is not called. Am I right? If yes, note that RadTextBox internally hosts the standard MS TextBox. You will need to subscribe to its MouseDown event to catch the moment when the user clicks on the cursor position.
this.radTextBox1.TextBoxElement.TextBoxItem.HostedControl.MouseDown += TextBoxItem_MouseDown;
private void TextBoxItem_MouseDown(object? sender, MouseEventArgs e) { // custom logic }
Give this a try and let me know if it works for you.
Regards, Dinko | Tech Support Engineer Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.