I quickly modified and copied the code I'm using. You'll have to populate the tree with at least one node...
Thanks,
Rich
OnNodeSelected="tvCostCodeProductTreeSearchResults_NodeSelected" OnPopulateNodes="tvCostCodeProductTreeSearchResults_PopulateNodes"
CssClass="UGFramestyleSelectable" SelectNodeOnRightClick="false"
OnNodeDataBound="tvCostCodeProductTreeSearchResult_NodeDataBound"
OnNodeExpandedChanged="tvCostCodeProductTreeSearchResult_NodeExpandedChanged" Width="600px" >
protected void tvCostCodeProductTreeSearchResults_NodeSelected(object sender, FlyTreeNodeEventArgs e)
{
}
protected void tvCostCodeProductTreeSearchResults_PopulateNodes(object sender, FlyTreeNodeEventArgs e)
{
}
protected void PopulatePriceForCostCodeProductNode(FlyTreeNode productNode)
{
}
protected void tvCostCodeProductTreeSearchResult_NodeDataBound(object sender, NineRays.WebControls.FlyTreeNodeEventArgs e)
{
}
protected void tvCostCodeProductTreeSearchResult_NodeExpandedChanged(object sender, NineRays.WebControls.FlyTreeNodeEventArgs e)
{
}
protected void btnCostCodeProductAddPrice_Click(object sender, EventArgs e)
{
//((Button)sender).
FlyTreeNode productNode = ((FlyTreeNodeItem)(((Control)(sender)).BindingContainer)).Node;
}