How to "rerender" a page?

  • Thread starter Thread starter Frank Nero
  • Start date Start date
F

Frank Nero

I am trying to dynamically change images on the page from C# code-behind.
After assigning new image inside timer_Elapsed handler:

MyImage.ImageUrl = "Image1.gif";


nothing happens. How could I force this page to be resent to the client's
browser? Or how else should I do that? It works with ASP 3.0 client-side
script though.

Thanks,

Frank.
 
it will also work asp.net client side script.

running a timer in the code behind to change the render html has no impact
after the page has been rendered (other than chewing up server threads and
resources).

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top