Ajax Update Panel Not Displaying Updated Image in IE, Chrome and FireFox

Posted by jmease on Stack Overflow See other posts from Stack Overflow or by jmease
Published on 2011-01-10T21:50:21Z Indexed on 2011/01/10 21:54 UTC
Read the original article Hit count: 165

Filed under:
|
|

I have a parent page with an Ajax Update Panel that contains an image and a button. There is a hyperlink that opens up a child page. When the child page is submitted, there is an onclientclick event that triggers a javascript function that clicks the button in the update panel on the parent page, the button's click event being the trigger for the panel as well as the event that updates the image URL.

When I use this on my android tablet, it works perfectly. However, it doesn't work at all on any browser I've used on a PC (Windows XP). The Image URL updates, but the updated image doesn't display without refreshing the entire page. In IE, I can right click on the image and click Show Image and it updates. In Chrome and Firefox, I have to refresh the entire page.

Why would an Ajax control only work properly on the Android OS and what could I be doing wrong that would cause the image not to redisplay on my PC without refreshing the page even though the image URL is clearly being updated properly. I suspect a caching issue, but don't know how to correct.

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about image