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

grid in tree ajax loading panel

2 Answers 42 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
sircutbreaker
Top achievements
Rank 1
sircutbreaker asked on 03 Jun 2010, 05:32 PM
So i have a grid in a tree...

and if someone sorts that grid, the ajax loading panel spins...

but if they close the tree node that houses the grid... the panel stays even though the grid behind it has been hidden inside the node.

what to do?

http://test.volvoaeroservices.com/parts/320115

sort and then close the node...

open to suggestions :)

thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 04 Jun 2010, 07:14 AM
Hello,

One suggestion would be preventing collapsing the tree node when AjaxLoadingPanel is displayed. You can declare a global variable and set the value in RequestStart / ResponseEnd accordingly. And in the 'OnClientNodeCollapsing' event check for the variable value to cancel the event. Call the method set_cancel() to specify whether the event should be cancelled (true) or not (false).


-Shinu.
0
sircutbreaker
Top achievements
Rank 1
answered on 04 Jun 2010, 01:32 PM
Perfect...

Thank you.
Tags
TreeView
Asked by
sircutbreaker
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
sircutbreaker
Top achievements
Rank 1
Share this question
or