Stefan [MSFT]
Guest
|
Posted:
Sat Jan 08, 2005 7:46 am Post subject:
Re: templates and usercontrols - URGENT |
|
|
Hi Kimberley,
that is not a MCMS related questions.
You should post this to an ASP.NET related newsgroup.
Cheers,
Stefan.
"Kimberley C" <KimberleyC@discussions.microsoft.com> wrote in message
news:DC847563-0CE0-4305-BFD7-C6C7E2272F4B@microsoft.com...
| Quote: | Hi,
On my template I have 2 user controls. Depending what the CacheVersion()
is
equal to I would display the appropriate user control. However, I have
noticed that the users controls are call before the CacheVersion check.
Does
any one know a solution or work around for this.
% if CacheVersion() then %
uc1:bodytextnavbody id="BodyNav1" runat="server"></uc1:bodytextnavbody
% else %
uc1:cache id="Cache1" runat="server"></uc1:cache
% end if %
Thanks
Kimberley |
|
|