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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeNode Parent Changed

Thread ID:





38422 Dec 12,2005 10:25 PM UTC Mar 7,2006 01:08 PM UTC WinForms 3
Tags: Tools
Jeff Lancaster
Asked On December 12, 2005 10:25 PM UTC

Suppose I have a tree which allows the user to drag nodes from on parent to another. I am looking for an event I can catch or some way to tell in code when this has happened. I would''ve thought this would be easy but pehaps I''m just overlooking something - is there an event that fires for this?

Deepa TS [Syncfusion]
Replied On December 13, 2005 02:58 PM UTC

Hi Jeff, I am looking into this and will get back to you as soon as possible. We appreciate your feedback and thanks for your interest in Syncfusion products. Thanks for your patience. Regards, Deepa.T.S

Deepa TS [Syncfusion]
Replied On December 14, 2005 12:32 PM UTC

Hi Jeff, Sorry for the delay in getting back to you. In a treeViewAdv ,during the dragdrop operation of nodes from one Parent node to another Parent node the ParentChange event has to trigger,but it fails to work so, I have logged a bug report regarding this issue. http://www.syncfusion.com/support/issues/tools/Default.aspx?ToDo=view&questId=1227 ParentChange Event is not triggered in treeviewAdv during drag and drop. Regarding this issue you could track the status of this bug fix in the above link. Thanks for your patience and interest in Syncfusion products. Best regards, Deepa.T.S

Deepa TS [Syncfusion]
Replied On March 7, 2006 01:08 PM UTC

Hi Jeff, Sorry for the inconvenience caused. After consulting with the developer,it is confirmed that there is no specific event for this behavior in treeViewAdv control.It can be done by checking in TreeViewAdv DragDrop event.That is by comparing the Source node parent with the destination nodes parent node in DragDrop event to ensure the parent change while drag drop. I have attached the modified sample.It tells you clearly that ,while dragdrop if previous Source Node''s parent is not same as the Destination Node''s parent,then the parentchange is shown in MessageBox. Please take a look at it and let me know if this helps you. Thanks for your continued interest in Syncfusion Products. Regards, Deepa.T.S



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

or the page will be automatically redirected to 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