View Full Version : Caching stops code execution?

06-21-2007, 07:47 PM
Hopefully I am posting this in the correct place this time, my apologies if not.

Anyways, I have some user controls which I want to use for fragment caching.

These controls contain a bunch of imagebutton controls which are supposed to call a method in the code associated with each user control which handles what the button is supposed to do and all.

These buttons work correctly when I do not cache the user control,
but when I add:

<%@ OutputCache Duration="60" VaryByParam="None" %>

to the user control page, caching it, clicking on the buttons seems to do nothing aside from refreshing the page.

Any insight would be of great use, thanks.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum