PC Review


Reply
Thread Tools Rate Thread

caching user control's output by property

 
 
z. f.
Guest
Posts: n/a
 
      25th Oct 2004
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.


 
Reply With Quote
 
 
 
 
Scott Allen
Guest
Posts: n/a
 
      25th Oct 2004
Hi z.f.: Have you looked at VaryByControl ?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Mon, 25 Oct 2004 16:27:46 +0200, "z. f."
<(E-Mail Removed)> wrote:

>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.
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Output Caching in User Control not firing postback Ben Fidge Microsoft ASP .NET 1 5th Jul 2006 03:45 PM
user control caching fernandezr Microsoft ASP .NET 3 2nd Feb 2006 10:01 PM
caching user control's output by property z. f. Microsoft ASP .NET 1 25th Oct 2004 04:50 PM
caching user control output, at runtime, how to? Welman Jordan Microsoft ASP .NET 2 27th May 2004 09:53 AM
Output Caching for Dynamically Loaded User Controls Teo Lachev Microsoft ASP .NET 0 1st Jul 2003 01:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:00 PM.