Hi,
I have implemented the following code to retrieve information about childnodes for parentnodes:
The problem is that the countervariabel only retrieves the total amount of childnodes when the selectednode is expanded!
Why is it like this? I want to retrieve the data without expanding the selectednode.
Besides this, the method for expandingchildnodes don't work on the serverside.
Why?
/Amir
I have implemented the following code to retrieve information about childnodes for parentnodes:
Dim RadTree As New Telerik.Web.UI.RadTreeView
Dim temp As String = SessionWrapper.treeViewState
RadTree.LoadXml(temp)
Dim i As Integer
For i = 0 To RadTree.SelectedNode.Nodes.Count - 1
RadTree.SelectedNode.Nodes(i).Selected = True
If RadTree.SelectedNode.Nodes.Count > 0 Then
ListItems.Add(QuestionComparison)
End If
Exit For
Next i
The problem is that the countervariabel only retrieves the total amount of childnodes when the selectednode is expanded!
Why is it like this? I want to retrieve the data without expanding the selectednode.
Besides this, the method for expandingchildnodes don't work on the serverside.
Why?
/Amir