Microsoft
70-515 · Question #57
You are implementing an ASP.Net web page that includes a Treeview control. You need to ensure that the TreeView control nodes are populated only when they are first expanded. Which two actions…
The correct answer is C. Set the PopulateOnDemand property of the TreeNode control to true. D. Add an event handler to the TreeNodePopulate event than includes code to populate the. See the full explanation below for the reasoning.
Question
You are implementing an ASP.Net web page that includes a Treeview control. You need to ensure that the TreeView control nodes are populated only when they are first expanded. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Options
- ASet the PopulateNodesFromClient property of the TreeView control to true.
- BAdd an event handler to the TreeNodeDataBound event that includes code to populate the
- CSet the PopulateOnDemand property of the TreeNode control to true.
- DAdd an event handler to the TreeNodePopulate event than includes code to populate the
How the community answered
(36 responses)- A8% (3)
- B14% (5)
- C78% (28)
Community Discussion
No community discussion yet for this question.