title: how to remove OutputCache programmatically for ascx?
body: <p>I have a page1.aspx:</p>
  
  <pre><code>&lt;%@ Register src="uc1.ascx" tagname="UcHead" tagprefix="uc1" %&gt;
  </code></pre>
  
  <p>and uc1.ascx using the <code>OutputCache</code>:</p>
  
  <pre><code>&lt;%@ OutputCache Duration="18000" VaryByParam="*"  %&gt; 
  </code></pre>
  
  <p>How can I click a button in another page2.aspx to remove <code>OutputCache</code> for uc1.ascx or page1.aspx?</p>
  
  <p>When the OutputCache is in page1.aspx, I can use the following code to remove the OutputCache:</p>
  
  <pre><code>string url = "/page1.aspx"; 
  HttpResponse.RemoveOutputCacheItem(url); 
  </code></pre>
  
  <p>But it does not work when the OutputCache is in uc1.ascx.</p>