Jensen Bredal wrote:
Hello,
I need to display self refreshing information on a web page written
with asp.net. I would image that the info would be displayed either
as part of a user control or a web control.
How can this be done? The information will come from a database and
the displaying should loop throug a table in
the database.
Many thank in advance
JB
You can't have a (web)control refresh just itself, because from the browser's
point of view it is just a section of html code.
You *can* have the complete page refresh itself with this in the <head>:
<meta http-equiv="refresh" content="10">
(where the "10" means a 10-second interval, adjust as needed)
If you need to have just a part of the page refresh itself, you need to
write that part as an iframe, containing a refreshing aspx.
(okay, you could also do a lot with client-side javascript and similar
technologies, but that is a lot more work)
Hans Kesting