ASP.NET: How to Create an Expandable Empty TreeNode

后端 未结 3 957
陌清茗
陌清茗 2021-01-14 11:57

I need to populate the TreeNode.ChildNodes on the event of TreeView.TreeNodeExpanded. The problem is the node is empty before the event gets fired

3条回答
  •  情话喂你
    2021-01-14 12:13

    Not sure and do not have time to try but I guess what you are after is the TreeNode.PopulateOnDemand property and TreeView.TreeNodePopulate event.

提交回复
热议问题