Have you looked at Partial Page Output Caching? You can avoid caching on the
parts of the page that contain the controls you do not wish to cache. Less
kludgy than substitution.
http://msdn.microsoft.com/en-us/library/h30h475z.aspx
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#
or just read it:
http://feeds.feedburner.com/GregoryBeamer
********************************************
| Think outside the box! |
********************************************
"Peter" <Pe***@discussions.microsoft.comwrote in message
news:31**********************************@microsof t.com...
In our application consisting of several custom user controls we want one
of
these controls to be excluded from the page cache. For this I tried to use
the substitution control for output cache substitution. But this control
renders at the top of the page before the <HTMLtag, just like using
response.write. When I turn off the page cache, it works correctly. What
could be the reason?