Friday, January 16, 2009

How to identify which node is selected when multiple nodes have the same text

protected void tree_NodeSelectionChanged(object sender,
Infragistics.WebUI.UltraWebNavigator.WebTreeNodeEventArgs e)
{
TextBox1.Text = e.Node.Text;
//You can use also other properties of the node:
//e.Node.DataKey;
//e.Node.DataPath;
}

No comments: