Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

two updatepanels

Status
Not open for further replies.

elic05

Programmer
Mar 21, 2002
17
IL
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top