This is a migrated thread and some comments may be shown as answers.

Expanding and Collapsing Nodes On Client

1 Answer 46 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 18 Oct 2011, 07:58 PM
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.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 19 Oct 2011, 10:24 AM
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.
Tags
TreeView
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or