Expanding treeNode having large text

3 posts, 0 answers
  1. Girish
    Girish avatar
    4 posts
    Member since:
    Jan 2011

    Posted 22 Jun 2012 Link to this post

    I have a telerik treenode which has a text containing more than 100K characters. Initially the nodes parent is collapsed and so the whole text of the child node is hidden. Now when i expand the parent node to view the child node, the browser stops responding and there is nothing else that i can do on the page.

    How can i expand the node without crashing the browser?

    Thanks & Regards,
  2. Girish
    Girish avatar
    4 posts
    Member since:
    Jan 2011

    Posted 24 Jun 2012 Link to this post

    2 days and no response! Iam surprised that nobody has a solution for this problem.
  3. Plamen
    Plamen avatar
    3056 posts

    Posted 25 Jun 2012 Link to this post

    Hi Girish,

    I have tried to reproduce the issue by adding sub node with 100 000 characters on a button click to the RadTreeView but could not observe the same behavior in neither browser. Here is the code behind that I used:

    protected void button_Click(object sender, EventArgs e)
            RadTreeNode rtn=new RadTreeNode();
             StringBuilder sb = new StringBuilder(200000);
            for (int i = 0; i < 100000; i++)

    Would you please share the exact code that you use with RadTreeView and the exact browser in which this issue is observed so we can be able to reproduce it locally?

    Plamen Zdravkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top