I have a treeview for which I will bind the data from XML to build the tree view. My sample XML file looks like this?
<Sites name="" title="">
<site id="1" name="a"></site>
<site id="2" name="b"></site>
Now when I bind this XML file to tree view, I need to show the attributes of selected node. For example, if I expand Sites node, I will have several child nodes with site as name. Now when I select the first site node, I need to show its attributes (id=1,name = a) and when I select second site, I need to show its attributes(id=2, name=b) ...
In short, I need to extract the selected node attributes only.
How can i achieve this?
Please reply ASAP.
View Complete Post