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

2 timers (masterpage + subpage) + radtreeview

4 Answers 69 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ingemar
Top achievements
Rank 1
Ingemar asked on 13 Sep 2010, 10:08 AM
hi,

i have a problem with the radtreeview in serversideclientcallback mode: i have one timer on the mainpage which refreshes the radtreeview every 10 secondes, and i have a second timer in the subpage which updates another control. sometimes the radtreeview starts to expand, shows the loading panel but didn't finish to expand the current node.

thank you for your help,
ingemar

4 Answers, 1 is accepted

Sort by
0
Cori
Top achievements
Rank 2
answered on 13 Sep 2010, 02:18 PM
Do you stop your timer when a RadTreeView node is expanding? If not, I would think that would be the issue, since two calls are being made to update the RadTreeView control. So I would suggest pausing the timer in the RadTreeView's OnClientExpanding event and then starting it back up on the OnClientExpanded event. That way the timer tick event isn't raised while the RadTreeView's node is expanding.

I hope that helps.
0
Ingemar
Top achievements
Rank 1
answered on 13 Sep 2010, 02:52 PM
hi,

yes, i stop the timer but it doesn't resolve the problem...
0
Cori
Top achievements
Rank 2
answered on 13 Sep 2010, 05:14 PM
Do you stop both timers or just the one that update the RadTreeView? Perhaps that is the issue.
0
Ingemar
Top achievements
Rank 1
answered on 14 Sep 2010, 08:11 AM
hi,

i tried both variants...if i stop both timer in the expanding and start them in the expanded clientevent, it works correctly for the most time. i think there is another problem which i have to find! our whole treeview control was implemented in expandmode serverside and i have to change it to serversidecallback...

thank you for your help,
ingemar
Tags
Ajax
Asked by
Ingemar
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
Ingemar
Top achievements
Rank 1
Share this question
or