The output cache directive is overriden at the page level. Do you have any
settings at the page level that may override the settings of the user
control?

Signature
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________
Hi Curtis,
If selectedItem property refers to a Value selected from the Drop
down that is placed in the User Control then you have to use the id of
the drop down in the output cache directive i.e.
<%@ OutputCache Duration="600" Shared="true"
VaryByControl="ddCountries"
%>
Where ddCountries is the id of the dropdown whose selected value you
want to cache to differentiate from. The Public propert doesn't work
for me in the VaryByControl as well.
Thank you,
Jawad
> The output cache directive is overriden at the page level. Do you have any
> settings at the page level that may override the settings of the user
> control?
>
[quoted text clipped - 7 lines]
>
> "curtis_mcmillin" <curtismcmillin@discussions.microsoft.com> wrote in
> message news:5B323109-1ED2-421A-8700-60A41764794A@microsoft.com...
> >I have several ASP.NET web pages, on which I place a user control with
[quoted text clipped - 7 lines]
> >
> > ...where 'SelectedItem' the name of the public property on the user
> > control.
> >
[quoted text clipped - 11 lines]
> > curtis_mcmillin@hotmail.com
> > curtis.mcmillin@conocophillips.com