We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeViewAdv is resetting cursor position if NodeEditorValidateString is cancelled

Thread ID:





8180 Oct 24,2003 01:49 PM UTC Oct 25,2003 08:58 AM UTC WinForms 1
Tags: Tools
Administrator [Syncfusion]
Asked On October 24, 2003 01:49 PM UTC

Hi, I am using Tools 2003/Win2k. I am using TreeViewAdv control. In NodeEditorValidateString event handler, if I set e.Cancel = true, tree is resetting the curosr position in the textbox. In my case, I am not allowing the user to type more than 15 chars in the node text. If the user types 16th char, I am setting e.Cancel = true. For the user it looks like the cursor jumps to first position in the textfield. You have to restore the position in TreeViewAdv.cs/labelEditor_TextChanged/ if(e.Cancel) block after you reset the text. thanks, - Reddy

Arun Srinivasan [Syncfusion]
Replied On October 25, 2003 08:58 AM UTC

Hi Reddy, Thanks for your feedback. We will look into this issue. The Essential Tools team is looking into issues in the TreeViewControlAdv control and I will update this posting as soon as I have more information. Regards, Arun


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon