ASP. NET Ajax Provided Timer The control is a server control that regularly triggers full-page return. Updatepanel After the control, asynchronous return and partial update can be triggered regularly. Updatepanel Control content.
Please note that if you Timer Control placement Updatepanel Control Javascript The timer component is re-created only when each callback is completed. This means that the timer interval will not be calculated from the beginning until the webpage is returned. For example, assume that you Timer Control Interval Attribute 10000 Millisecond (that is 10 Seconds), but it takes 2 Second, the next Callback will occur after the previous callback is triggered 12 Seconds.
However, if Timer Control is located in Updatepanel When the callback is being processed, Javascript The timer component continues timing. For example, assume that you Timer Control Interval Attribute 10000 (That is 10 Seconds), and the return job took 2 It takes two seconds to complete. Even so, The next Callback will still happen after the previous callback is triggered 10 Seconds. That is to say, for users Updatepanel After the widget content is updated 8 Second, you will see Updatepanel The widget is updated again.