c# - asp.net Internet Explorer image cache? -


i'm writing asp.net app in c#. in program image of schedule grid has lines drawn on depending on selections user. when user selects day, image redrawn show scheduled time"lines" day. works fine in chrome, , firefox, in internet explorer(9) image won't change day, displays whatever first image regardless of day user selects afterward.

i used code on code-behind because thought caching image, didn't resolve issue. pointers?

response.cache.setnostore(); response.cache.setcacheability(httpcacheability.nocache); 

(a standard clean grid image loaded, drawn on, renamed , saved different local folder. new image loaded image control on screen. happens every time user changes days.)

you refer ms's documentation on avoiding image caching:

http://msdn.microsoft.com/en-us/library/w9s3a17d(v=vs.71).aspx

and place in page_load method:

response.cache.setcacheability(httpcacheability.nocache) 

but since naming file @ run time, name file differently each time (maybe using date since it's timeline), other images on page not cached.


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -