views:

45

answers:

1

I have a UpdatePanel control in which there is a ListView that would read some data from a SQL Server.I want to use a Timer to periodic update this ListView every 1 or 2 minutes.
What should I do in the Tick Event to do the partial refresh in the UpdatePanel?

A: 

Just update the control inside the update panel that needs to be refreshed. Take a look at this example.

Darin Dimitrov
I have already read this example, but I still has a question. Because the control in the UpdatePanel is not Label, it's a ListView. You means that I need do ListView.DataBind? Is it right?
Yongwei Xing
Thanks I got it.
Yongwei Xing