I am following the following documentation for the RadTreeView on populating a Treeview through an XML Datasource.
However, The documentation doesn't really get in depth about how the XML schema and naming conventions correlates to the RadTreeview control itself or how the corresponding XML elements are being linked up.
The ID and parentID elements are obvious enough and those do appear to be referenced in the initialization of the RadTreeview control through the following code.
However, the XML "Title" element maps to the RadTreeView.DataMember property, which is not as obvious.
A RadTreeNode seems to have 4 different properties available to populate (Name, Tag, Text, Value). Again based on documentation I am not sure what the difference is in each of these values.
When populating the RadTreeView through XML Datasource, and then iterating through each of the nodes, it seems as though (Name, Text, and Value) are all populated with the XML value from the "Title" element, and that the RadTreeNode (Tag) value is left blank.
Can someone elaborate on the difference between (Name, Tag, Text, and Value) and what specific purpose each is intended to serve?
Can someone also elaborate on how the XML elements are being mapped?
Additionally can the XML schema be modified to populate these values? I am particularly interested in populating the (Tag) property, but would like to understand what else is possible with XML.
Right now I can iterate through the RadTreeView nodes after its loaded and manually set the Tag value, but this kind of defeats the purpose of using something like XML in the first place.
Any help much appreciated!