I have a tree view that displays hierarchical data, while I select Treeode, I generate a series of those links Let me say the path which maps to the path from the selected node to the root node
: Route node -> childnode -> selected node
When clicking on any of these links, Select the required node in the tree whistle?
I know that TreeNode is selected using this code through client side:
javascript: __ doPostBack (TreeView.ClientID, TreeNodeValuePath)
and
TreeView_SelectNode (TreeView.ClientID_Data, TreeNode.ClientID)
Ex:
< Pre> & lt; One style = "border-style: none; font-size: 1em;" Id = "tvMenut1" title = "Created on: 1/28/2009 9:50:06 AM" onclick = "Tree ViUIHented node (TVManaduata, this, 'TV MNU1');" Href = "Javascript: __ doPostBack ('TVMenu', 's1 \\ 720,63')" class = "tvMenu_0 treenodeParent tvMenu_3" & gt; Etravel2000
My problem is to get TreeNode.ClientID?
Any suggestions? FYI: This page is an AJAX-enabled page.
TreeNode. ClientId?
If so, leave it wherever you are trying to pass it: & lt;% = TreeNode.ClientID%>
Comments
Post a Comment