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?
views:
45answers:
1
A:
Just update the control inside the update panel that needs to be refreshed. Take a look at this example.
Darin Dimitrov
2010-01-06 08:18:27
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
2010-01-06 08:24:54
Thanks I got it.
Yongwei Xing
2010-01-06 08:26:50