Refresh a GridView after some event on server
Posted
by Attilah
on Stack Overflow
See other posts from Stack Overflow
or by Attilah
Published on 2010-03-29T11:41:35Z
Indexed on
2010/03/29
11:43 UTC
Read the original article
Hit count: 161
I use a GridView to represent data from a table in my DB.
the GridView has some template fields whose content are determined before displaying the Grid ( I use the RowDataBound event to determine content of template fields before displaying the GridView).
The page displays a list of records from the table records and then, the recording process starts. after the process is over, the template fields should be updated.
how do I automatically refresh the GridView after the process is finished ? it should be noted that the GridView is contained within an control and that I continuously poll the server using a Timer control that executes "GridView1.DataBind()" at the server level every 60 seconds.
How can I solve this ?
© Stack Overflow or respective owner