B
Ben Fidge
I've got a User Control that renders site navigation from a database. For
some reason, when using Output Caching, none of my LinkButtons fire their
PostBack events.
The declaration in the control is:
<%@ OutputCache Shared="true" VaryByParam="none" Duration="120" %>
This control is used on every page and has a significant performance hit,
but if it's not firing off any postback's is next to useless. When I remove
the above declaration it works fine.
The event handlers for the LinkButtons are all contained within the control
itself.
Am I missing something obvious?
Ben
some reason, when using Output Caching, none of my LinkButtons fire their
PostBack events.
The declaration in the control is:
<%@ OutputCache Shared="true" VaryByParam="none" Duration="120" %>
This control is used on every page and has a significant performance hit,
but if it's not firing off any postback's is next to useless. When I remove
the above declaration it works fine.
The event handlers for the LinkButtons are all contained within the control
itself.
Am I missing something obvious?
Ben