On the treeview:
PopulateNodesFromClient = true
EnableClientScript = true
On each node you add to the treeview:
PopulateOnDemand = true
Make sure to only do this on nodes that have children (save your bandwidth).
The only other thing you have to do is add an event handler to the
TreeView's TreeNodePopulate event. The event args include the node that
needs its children populated. Just stick new child nodes in it and that's
that! Its nice, but there are some bugs that need to get worked out of it...
"Martin Randall" wrote:
Can anyone tell me if it is possible to get the TreeView control in ASP.Net
2.0 to allow node selection without triggering a postback?
Thanks!
Martin Randall