I have a webpage that displays an image using a generic imagehandler. the image takes a few seconds to load, so rest of the page is completed before the image is loaded. I am using an overlay (using a div showing loading...) that is hidden by the code-behind file once the html is generated and displayed.
But the problem is that the image is still loading and the overlay has gone.
Is there anyway to control the div from the handler or to figure out in code-behind page that the image has completed loading?