Hi there,
I'm trying to add nodes to a specific node in a previously databound radtreeview.
When the page updates, the correct number of nodes are visible in the correct parent node, but they have no text.
Dim current_version_node As RadTreeNode = rtvClientSpecs.FindNode(Function(x) x.FullPath = e.CommandArgument.ToString())
If current_version_node.Nodes.Count = 0 Then
f = oclientContext.Web.GetFileByServerRelativeUrl("/" + e.CommandArgument.ToString())
oclientContext.Load(f.Versions)
oclientContext.ExecuteQuery()
For Each _version As FileVersion In f.Versions
If Not _version.IsCurrentVersion Then
Dim old_version_node As New RadTreeNode(e.CommandArgument.ToString() + "/" + String.Format("Version {0}", _version.VersionLabel))
old_version_node.Value = _version.VersionLabel
current_version_node.Nodes.Add(old_version_node)
End If
Next
Else
current_version_node.Expanded = Not current_version_node.Expanded
End If