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

Need replacement of Node.Id and (TreeNodeCollection)nodes)[nodes.Count - 1].Nodes

2 Answers 32 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
abhishek
Top achievements
Rank 1
abhishek asked on 15 May 2009, 08:19 AM
The previous version of RadControl had the definition for these properties but the latest version doesn't have. Please tell me the properties in the latest version which would do the same job.
Again the properties are:

(

TreeNodeCollection)nodes)[nodes.Count - 1].Nodes and node.ID

Also, the methods :
RadTreeView.FindNodeById, RadMenu.FindItemById

are made internal in the new version, please let me know the replacement of that as well.

Thanks
Abhishek

 

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 15 May 2009, 11:30 AM
Hi abhishek,

Setting the ID property of RadTreeNode and RadMenuItem is no longer allowed. You can use the Value property and the FindItemByValue/FindNodeByValue method.

Regards,
Albert
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
abhishek
Top achievements
Rank 1
answered on 18 May 2009, 06:11 AM
Thanks for the reply,
One more question, how could I replace:
(TreeNodeCollection)nodes)[nodes.Count - 1].Nodes

also I couldn't find the RadTreeviewEventHandler in the new version
Tags
TreeView
Asked by
abhishek
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
abhishek
Top achievements
Rank 1
Share this question
or