Hi,
I am facing issues while binding the XML data to a RADTreeview.
If I use the declarative datasource and bind it to the TreeView it works, but when I specify the datasource from the codebehind, it is not able to set the Node.Value property.
Below code is working:
ASPX Code:
XML
Code not working (the data is getting displayed but Node Value always returns blank):
Kindly help me in resolving the issue.
Thanks
Ajay Sharma
I am facing issues while binding the XML data to a RADTreeview.
If I use the declarative datasource and bind it to the TreeView it works, but when I specify the datasource from the codebehind, it is not able to set the Node.Value property.
Below code is working:
ASPX Code:
XML
<?xml version="1.0" encoding="utf-8"
?>
<!--
A Mapping xml file
-->
<Node ID="14" Text="disprine"
/>
</Node>
<Node ID="25" Text="Testitem"
/>
</Node>
<Node ID="25" Text="Testitem"
/>
</Node>
<Node ID="25" Text="Testitem"
/>
</Node>
<Node ID="35" Text="my Item" />
</Node>
<Node ID="35" Text="my Item" />
</Node>
<Node ID="25" Text="Testitem"
/>
</Node>
</Tree>
Kindly help me in resolving the issue.
Thanks
Ajay Sharma