Instead of getting the value from the DataFieldID
property you can get it from the DataValueField
sender, RadTreeNodeEventArgs e)
RadTreeView tree = (RadTreeView)sender;
var valueField = tree.DataValueField;
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.