caching user control's output by property

  • Thread starter Thread starter z. f.
  • Start date Start date
Z

z. f.

Hi,

i'm writing a user control that lives inside a page,
and i want to cache the output of the control.
is it possible to cache the control's output using a property on the
control.
so that when the property is like the property of the cached data, the
cached data is being outputed.
if the property is not in the cache already, a new data is outputed.

it is very similar to the VaryByParam, but the parameter is not from
outside, it is from the page itself.


is it possible?

TIA, z.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top