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

Multiple spins on TreeNode click (Load On Demand)

2 Answers 58 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Puneet Minhas
Top achievements
Rank 1
Puneet Minhas asked on 11 Mar 2010, 01:30 PM
Hi,

We have a RadTreeView which is loaded on demand. The expand mode for the nodes is set to ServerSideCallBack.
Everything is working fine except that when the user clicks on the '+' sign (node expand) multiple times and too rapidly, there are multiple spins that come up on that node. Once the node expand is complete, all of them go except for one which keeps rotating endlessly (LoadingStatusPosition is set to 'BeforeNodeText').

Could anyone please suggest how to handle this issue?

Thanks & Regards,
Puneet

2 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 15 Mar 2010, 01:18 PM
Hi Puneet Minhas,

Please check this troubleshooting article
Double Loading... message when you expand node fast

Greetings,
Veskoni
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Puneet Minhas
Top achievements
Rank 1
answered on 17 Mar 2010, 10:06 AM
Thanks for the reply.
It helped me handle the condition.
1 drawback of the approach mentioned in the article is that, no other node can be expanded simultaneously.
Handled this by creating a hashtable and putting and removing node text on onclientnodeexpanding and onclientnodepopulated events respectively.

Thanks,
Puneet
Tags
TreeView
Asked by
Puneet Minhas
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Puneet Minhas
Top achievements
Rank 1
Share this question
or