Posted 21 May 2012 Link to this post
<
telerik:RadTreeView
ID
=
"RadTreeView2"
runat
"server"
DataSourceID
"XmlDataSource1"
>
DataBindings
telerik:RadTreeNodeBinding
DataMember
"Node"
TextField
"Text"
ImageUrlField
"ImageUrl"
ExpandedField
"Expanded"
/>
</
asp:XmlDataSource
DataFile
"TreeView.xml"
XPath
"/Tree/Node"
<?
xml
version
"1.0"
encoding
"utf-8"
?>
Tree
Node
Text
"Top Admin"
Value
ImageUrl
"sample.ico"
Expanded
"False"
"Second"
"Actual"
NavigateUrl
"~/Actual.aspx"
></
Posted 23 May 2012 Link to this post
The issue is caused because each node tag in the xml file should have a text property in it and you should not have tag like "<Node>" one with no properties. You can review the TreeView.xml file shown in the Populating from XML on-line demo. Hope this will explain the issue.