image refresh

huby

Freshman
Joined
Feb 20, 2004
Messages
32
hello !

i'm trying to create a slideshow in ASP.NET. i have an image control and a timer control on a webform, and using those, + directoryinfo and fileinfo objects, i am able to change the url of the image every 5 seconds. however, nothing changes in the browser, even though the property values do change.

how can i force the page, or control, to refresh itself ?

thanks,

Huby.
 
You cannot refresh the page from the server code, it should be done on the client through code or the Meta tags of the page. (<meta HTTP-EQUIV="REFRESH" CONTENT="10">)
 
Back
Top