@OutputCache problem in a UserControl
<p>I have a user control with this OutputCache:</p>

<pre><code>&lt;%@ OutputCache Duration="86400" VaryByControl="LnkBtnTopVanzari" %&gt;
</code></pre>

<p>Where <strong>VaryByControl</strong> is the id of a link button i use to switch the active view of a <strong>multiView</strong> contained in an <strong>updatePanel</strong>.</p>

<p>The problem is that when i press that link button, the page does a <strong>full post back</strong> and the view is not switched.</p>

<p>If i remove the outputCache directive, all works great (pressing the link button the correct view is shown via ajax).</p>

<p>Do you know where i am wrong?</p>

<p>Thanks.</p>
