Wednesday, 14 July 2010

Solving an updatepanel cacheing problem with SetCacheability

I had an issue today with the contents of an update panel appearing to be cached when they should have displayed a more recent listview of search results. Frustratingly this problem was only happening on the server copy of my site rather than locally.

I resolved the problem with the following code in the page load event:
UPDATE: ah, so it never worked for Firefox...I went for a solution using a session object instead!

No comments:

Post a Comment

Comments are moderated, so you'll have to wait a little bit before they appear!