TreeNode's from XML File - ToolTip
not sure this is the right place for this, but here goes....
I got a IE Webcontrol TreeView on my page.
Created a simple xml file, and bind it to the treeview to populate the nodes
Code:
<TREENODES>
<TreeNode text="country">
<TreeNode text="China" >
<TreeNode text="Beijing"/>
<TreeNode text="Shanghai"/>
<TreeNode text="Hunan"/>
</TreeNode>
<TreeNode text="USA"/>
<TreeNode text="Australia"/>
<TreeNode text="France"/>
</TreeNode>
</TREENODES>
Code:
//bind the treeview to the sample xml file
myTreeView.TreeNodeSrc = "xml/treenode.xml";
myTreeView.DataBind();
Is it possible to include a node's tooltip text in the xml file? something like ....
Code:
<TreeNode text="USA" tooltip="this is a test"/>
the latter does not work of course
Re: TreeNode's from XML File - ToolTip