TreeView control maximum number of nodes

I have a treeView control in ASP.NET page that will be loaded with up to 10,000 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

Are there a maximum number of nodes that can be loaded?

If yes, how can I load on demand the tree view up to a certain maximum number?
Else how can I manage the load so that performance does not degrade? (In other words, the page start to get slow after 1000 nodes, so load of demand can be appropriate for this scenario of huge number of tree nodes)

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

Note: I found this link for a telerik product, describe some interesting problems but it is not helpful to solve my issue:

LVL 37
Miguel OzSoftware EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

For the max number of nodes for a treeview

Every thing is well explained there ...
Miguel OzSoftware EngineerAuthor Commented:
Your link refers to VB 4 TreeView.

The solution I am looking for is for Asp.NET ( 2.0).
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Miguel OzSoftware EngineerAuthor Commented:
Thank you for your answer.
It does describe part of my problem but it does not provide a solution for it.
Have a look at the sample posted in the question. (there are 4 root nodes, then node 1 has 400 child nodes, lastly node 1.400 has the 4600 child nodes causing the problem.

I include the treeview markup (it is inside a panel)
<asp:Panel runat="server" ID="pnlElements" CssClass="TreePanel" EnableViewState="false">
                                                    <asp:TreeView runat="server" ID="tvwElements" EnableViewState="false" ExpandDepth="0"
                                                        PopulateNodesFromClient="true" EnableClientScript="true" OnTreeNodePopulate="tvwAvailableElements_TreeNodePopulate"
                                                        NoExpandImageUrl="~/images/noex.gif" NodeWrap="true" CssClass="TreeViewNodeWrap">
                                                        <NodeStyle CssClass="TreeNode" VerticalPadding="2px" HorizontalPadding="2px" />
""As a general rule, try to keep the number of nodes in a tree under 1000""" ---> from the link I gave you .. so when you have the 4600 child nodes you will definitely have problems ..

The solution is also given in the link .. to use the AJAX based on demand loading .. try to split this 4600 child nodes ...  I suggest you take a look at the last part of the answer once again ...
Miguel OzSoftware EngineerAuthor Commented:
It is only a comment there is no real implementation. As stated in the question Sample implementation is required.
Miguel OzSoftware EngineerAuthor Commented:
Thank you for your answers. The code in the links above does not solve my question.
I think I will go for:
unless you can propose a suitable alternative that is better than obout.

Note: By the way, if you tried the code posted in this question:
You will find you can use more than 1000 nodes on the treeview.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.