I've used demo code to get a list of the submitted check boxes from the tree view:
private static void ShowCheckedNodes(RadTreeView treeView, Label label)
string message = string.Empty;
IList<RadTreeNode> nodeCollection = treeView.CheckedNodes;
foreach (RadTreeNode node in nodeCollection)
message += node.FullPath + "<br/>";
label.Text = message;
This is all good, however it only shows the Text (Subject_Place
). Each node has an ID number field (SubjectID
). Its this ID number I need, rather than the Text.
How can I get this instead of the Text?
** UPDATE **
Seems like I've stumbled on the answer myself, just needed to add:
message += node.Value + "<br/>";