I have two updatepanels (not nested)
one has a label in it that is updated by a timer every 2 seconds, the timer and the label are inside the update panel.
the event Timer1_Tick update the UpdateTable
the second updatepanel has an asp:image
the image has to be updated by imageButtons that are inside a datalist
i dont want the datalist to be updated therefore it is not inside the uploadpanel.
in order to be a trigger to update this image (the asp:Image) I added in codeBehind
ScriptManager1.RegisterAsyncPostBackControl(DataList1)
the problem
the first updatepanel is working good and is updated every 2 seconds
the asp:Image is updated by the imagebuttons of the datalist
but also by the timer so the image is loaded every 2 seconds.
how can I tell the timer not to update the second updatepanel?
one has a label in it that is updated by a timer every 2 seconds, the timer and the label are inside the update panel.
the event Timer1_Tick update the UpdateTable
the second updatepanel has an asp:image
the image has to be updated by imageButtons that are inside a datalist
i dont want the datalist to be updated therefore it is not inside the uploadpanel.
in order to be a trigger to update this image (the asp:Image) I added in codeBehind
ScriptManager1.RegisterAsyncPostBackControl(DataList1)
the problem
the first updatepanel is working good and is updated every 2 seconds
the asp:Image is updated by the imagebuttons of the datalist
but also by the timer so the image is loaded every 2 seconds.
how can I tell the timer not to update the second updatepanel?