![]() That is, when the TreeView’s TreeNodePopulate event is raised, PopulateSubLevel is called. PopulateSubLevel( CInt(e.Node.Value), e.Node) Protected Sub TreeView1_TreeNodePopulate( ByVal sender As Object, _īyVal e As .WebControls.TreeNodeEventArgs) Handles TreeView1.TreeNodePopulate The trick to triggering the populating of the child nodes is as follows. Here, the idea is the same as with the root level, but with the distinction that only child nodes of the given node are queried and populated with the PopulateNodes method (described earlier).
0 Comments
Leave a Reply. |