Asp.net TreeView control - maximum number of nodes

Posted by mas_oz2k1 on Stack Overflow See other posts from Stack Overflow or by mas_oz2k1
Published on 2010-04-13T05:08:22Z Indexed on 2010/04/13 5:12 UTC
Read the original article Hit count: 378

Filed under:
|
|

I have a treeView control in ASP.NET page that will be loaded with up to 12,000 nodes in different levels. For example:

  • Node 1

    • Node 1.1 …

      • Node 1.400

        • Node 1.400.1

        • Node 1.400.6400
  • Node 2
  • Node 3
  • Node 4

According to this link:

http://msdn.microsoft.com/en-us/library/ms529261.aspx

the node limit is 1000. Is this correct or is it dependent on available memory(please specify value)?

Assuming it is correct. is there any way to split the 4600 child nodes in say in chunks of 300 hundred? I am thinking that if dummy nodes are used (previous /next navigation) to navigate the chunks will easy the load of the html page.

Sample code in C# will be greatly appreciated. (Or VB.NET if you can not translate it to C#)

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#