How to use 'VaryByControl' on ASP.NET 1.1?  
Author Message
EricofPtolus





PostPosted: Tue Jan 03 07:41:29 CST 2006 Top

ASP.Net >> How to use 'VaryByControl' on ASP.NET 1.1? <%@ OutputCache Duration="5" VaryByParam="none"
VaryByControl="lblCustomerCode" %>

I have this error when I run my application. How should I to do?



Parser Error Message: The 'VaryByControl' attribute is not supported by the
'OutputCache' directive.

Web Programming162  
 
 
Christopher





PostPosted: Tue Jan 03 07:41:29 CST 2006 Top

ASP.Net >> How to use 'VaryByControl' on ASP.NET 1.1? VaryByControl is not supported for pages under 1.1, only user controls.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"ABC" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> <%@ OutputCache Duration="5" VaryByParam="none"
> VaryByControl="lblCustomerCode" %>
>
> I have this error when I run my application. How should I to do?
>
>
>
> Parser Error Message: The 'VaryByControl' attribute is not supported by
> the 'OutputCache' directive.
>