I'm using RadListBox as as RadTreeview in my page.
I'm binding data to RadTreeview with:
List<SiteDataItem> siteData = GetNotificationTree();
treeView.DataTextField = "Text";
treeView.DataFieldID = "ID";
treeView.DataFieldParentID = "ParentID";
treeView.DataSource = siteData;
treeView.DataBind();
Serverside I want to read the Value of the checked items. In Listbox that works with:
ListBox.CheckedItems.Select(_ => int.Parse(_.Value))
But in Treeview I'm not able to access the values e.g. with:
Treeview..CheckedNodes.Select(_ =>int.Parse(_.Value)). I'm only able to read the text property but not the value bound to the TreeView.