I have two UpdatePanels and two Timers to update them, the Timers’ interval are different. The first UpdatePanel generates an asp:table rows dynamically from a query, the second one does the same from another query.
In the Page_Load event I do everything (Query the DB, fill the Table) then in the Page_PreRender event I use the ViewState to save some info I need to use after the page is loaded for that specific panel, and in the Timer_OnTick I do nothing actually.
My first panel works perfect, now, I need to do the same thing for the second Panel, but I’m worried about the concurrency of those panels since the update occurs in different intervals of time. That’s one thing, the other one is how to update the specific panel according to the Timer since I have all the code in the Page_Load event.
Please advice.
On
Page_LoadcheckRequest.Params["__EVENTTARGET"]and see if it containsTimer1,Timer2, etc.Here’s a link to a similar question.