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

[Solved] Update more than one user controls asynchronously

1 Answer 115 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Saqib
Top achievements
Rank 1
Saqib asked on 21 Jul 2009, 10:01 PM
HI,
    I am loading UserControls in DOCK control at run time.  Each UserControl has a Timer control with Interval = 1 sec. On each Timer_Tick Event I am calling report and disabling the Timer control itself. User can add more than one user controls on the page at the same time. I thought that all Timer_Tick event fire at the same time but what's happening is it loads all the control on page and fire Timer_Tick event sequentially means it first fire the Timer_Tick event of first UserControl call the report finish the request and go to the Timer_Tick event of second control. Is it possible that all the Timer_Tick events fire at the same time. Do I have to play with RadAjaxManager settings? Please advise.

Thanks
Saqib

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 24 Jul 2009, 02:52 PM
Hello Saqib,

My colleague Petre already provided a reply in the support ticket you opened with regards to this subject. I am pasting it here for additional reference:

In reference to your questions:

  • The issue with the RadDock's close command is already fixed, and we recommend that you download the latest version of our control suite so you would not have to use the workaround.
  • You can add all of the UserControls to a single RadAajxManager (as an AjaxSetting) and update them when the time interval of a single Timer passes. This way all of the control will be updated simultaneously.

Kind regards,

Sebastian

the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Ajax
Asked by
Saqib
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or