This is a migrated thread and some comments may be shown as answers.

Unable to edit the ID attribute of Telerik.Web.UI.RadTreeNode

3 Answers 62 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Guest 27
Top achievements
Rank 1
Guest 27 asked on 25 Aug 2009, 10:04 AM
Since we are updating the OS from 32bit to 64 bit, I had to change the reference from Telerik.WebControls to Telerik.Web.UI
In Telerik.WebControls the following code worked fine.

 

using Telerik.WebControls;

RadTreeNode
newNode = new RadTreeNode();

newNode.ID = "1234";

3 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 26 Aug 2009, 08:44 AM
Hello,

That is true - the ID property is read only. Why do you need to set it?

Greetings,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Guest 27
Top achievements
Rank 1
answered on 26 Aug 2009, 11:47 AM
One reason is, to consrtuct the tree.
0
Veselin Vasilev
Telerik team
answered on 26 Aug 2009, 01:00 PM
Hi ,

You do not need to set that property anymore. Please omit it and create the nodes without setting the ID property.

All the best,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
TreeView
Asked by
Guest 27
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Guest 27
Top achievements
Rank 1
Share this question
or