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

TreeViewAdv.SelectedNode.Remove() error

Thread ID:





72292 Mar 12,2008 11:51 AM UTC Mar 26,2008 05:13 AM UTC WinForms 1
Tags: Tools
Sourabh Dubey
Asked On March 12, 2008 11:51 AM UTC


We are using Syncfusion version and we have got a 2 step tree structure. We remove the selected node from one parent node and move it to another parent node. Code snippet (treepools is of type TreeViewAdv):
TreeNodeAdv child = treePools.SelectedNode.Clone(); child.TextColor = Color.Blue; child.HelpText = "COMMENT"; treePools.Nodes[2].Nodes.Add(child); treePools.SelectedNode.Remove();

On Remove() we are getting the error:
"The data at the root level is invalid. Line 1, position 2145."

Any ideal what is throwing this error, since, no stack trace comes up?

Many Thanks.

Administrator [Syncfusion]
Replied On March 26, 2008 05:13 AM UTC

Hi Sourabh,

Thank you for your interest in Syncfusion Products.

I am afraid that I was not able to reproduce the issue mentioned here. I have created a simple sample using the code snippets that you have given in previous update. Please find the sample for your reference in the following link:


Please look at the above sample, if the issue still exists, could you please provide me a simple sample that reproduces the issue, so that I could sort out the cause of the issue and provide you a better solution?

Please let me know if any concerns.



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