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.
Unfortunately, activation email could not send to your email. Please try again.

TreeViewAdv is resetting cursor position if NodeEditorValidateString is cancelled

Thread ID:





8180 Oct 24,2003 09:49 AM Oct 25,2003 04:58 AM Windows Forms 1
Tags: Tools
Administrator [Syncfusion]
Asked On October 24, 2003 09:49 AM

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 04:58 AM

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.

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.