I am binding a Treeview in an XMLDataSource, the databendings are being automated, XML looks like this: -
& lt;
Traveler & gt; & Lt; Traveler Type = "General" ethnic = "Asian" & gt; & Lt; PassengerName & gt; NAME1 & lt; / PassengerName & gt; & Lt; / Passenger & gt; & Lt; Traveler Type = "General" & gt; & Lt; PassengerName & gt; NAME2 & lt; / PassengerName & gt; & Lt; / Passenger & gt; & Lt; Passenger & gt; & Lt; PassengerName & gt; NAME3 & lt; / PassengerName & gt; & Lt; / Passenger & gt; & Lt; / Travelers & gt; TreeView displays the XML correctly but when I click on the node and the selected node-changed event is selected, the chosen node.Detapat always list the first passenger Click on the path, no traveler node i.
Does anyone know how to get the datatine of the actual node?
That's because you have a master page so when you select a node, the current page In the PageLog function comes first, you can see the actual selected node, and then it goes to the page load function in the master page and returns to the selected node-adjusted function in the page. You have a previewview, but this master Page went before because of the choice Per node was forgotten ... you'll save the selected node (Wuvestet or anything else ...) in the Page Load event page, and take then it is off to the selected node-Chanded function.
Comments
Post a Comment