2 timers (masterpage + subpage) + radtreeview

5 posts, 0 answers
  1. Ingemar
    Ingemar avatar
    11 posts
    Member since:
    Sep 2010

    Posted 13 Sep 2010 Link to this post

    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
  2. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 13 Sep 2010 Link to this post

    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.
  3. Ingemar
    Ingemar avatar
    11 posts
    Member since:
    Sep 2010

    Posted 13 Sep 2010 Link to this post

    hi,

    yes, i stop the timer but it doesn't resolve the problem...
  4. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 13 Sep 2010 Link to this post

    Do you stop both timers or just the one that update the RadTreeView? Perhaps that is the issue.
  5. Ingemar
    Ingemar avatar
    11 posts
    Member since:
    Sep 2010

    Posted 14 Sep 2010 Link to this post

    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
Back to Top