Expanding and Collapsing Nodes On Client

2 posts, 0 answers
  1. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 18 Oct 2011 Link to this post

    Hello,

    I'm following this approach to expanding and collapsing all nodes in client JavaScript: http://www.telerik.com/help/aspnet/treeview/tree_expand_client_side.html

    However, it's taking a  REALLY long time to process this, and after expanding then collapsing, I get the "script unresponsive" error, so I was wondering if there was a way to speed this up for a rather large tree?  Is there a better way to parse it?  Currently, the tree is 4 levels deep.

    Thanks.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 19 Oct 2011 Link to this post

    Hello Brain Mains,

    The link which you given is for ASP.NET. The client side objects are different for ASP.NET and ASP.NET Ajax. Here is the  documentation for ASP.NET Ajax and which worked as expected.

    Expanding and Collapsing All Nodes

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top