When displaying extensive MLM (Multi-Level Marketing) hierarchies using TreeView in ASP.NET, performance issues often arise due to the sheer volume of nested nodes. Loading thousands of members at once can slow down the interface, increase page load time, and degrade user experience.

Two possible ways to handle this:

  1. Populate the tree in a separate thread
  2. Only populate sub-nodes as required to view

You can do option 2 by puttinh the "populate directly under this node" code in the event that gets triggered when you select a node. Sorry I cannot be more specific but I removed vb.net years ago in favour of Python and never looked back.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.