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 59 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Regeesh Joseph
Top achievements
Rank 1
Regeesh Joseph asked on 29 Jul 2010, 10:38 AM
Hai,

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

How can we distinguish between different nodes without setting the ID for individual nodes. I want to perform different set of actions on clicking each nodes.

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 29 Jul 2010, 11:06 AM
Hello,


You could check for the Value of node (instead of ID) in order to distinguishing between nodes.


-Shinu.
0
Regeesh Joseph
Top achievements
Rank 1
answered on 29 Jul 2010, 11:11 AM
Value is coming from database dynamically on clicking the parent node. Then how can I distinguish nodes by checking the alue property?
0
Yana
Telerik team
answered on 29 Jul 2010, 11:42 AM
Hi Regeesh,

The other option is to set custom attribute for the nodes.

All the best,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TreeView
Asked by
Regeesh Joseph
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Regeesh Joseph
Top achievements
Rank 1
Yana
Telerik team
Share this question
or