ASP.NET TreeView and Selecting the Selected Node

后端 未结 9 1542
無奈伤痛
無奈伤痛 2020-12-14 11:02

How do I capture the event of the clicking the Selected Node of a TreeView? It doesn\'t fire the SelectedNodeChanged since the selection has obviously not c

9条回答
  •  时光说笑
    2020-12-14 11:38

    c#:

    TreeNode node = TreeTypes.FindNode(obj.CustomerTypeId.ToString());
    
    
    TreeTypes.Nodes[TreeTypes.Nodes.IndexOf(node)].Select();
    

提交回复
热议问题