System.Web.UI.StaticPartialCachingControl Class

Represents an instance of the System.Web.UI.UserControl class that is specified for output caching and included declaratively in a page or another user control.

See Also: StaticPartialCachingControl Members


public class StaticPartialCachingControl : BasePartialCachingControl


An instance of this class is created when a user control is specified for output caching, using either an @ OutputCache directive in the declarative .ascx file, or the System.Web.UI.PartialCachingAttribute class in the user control's code-behind file. When the user control is included declaratively in its containing page (as opposed to being dynamically loaded using the erload:System.Web.UI.TemplateControl.LoadControl method in the System.Web.UI.TemplateControl control class), the System.Web.UI.StaticPartialCachingControl instance is placed in the control hierarchy of the page as a parent to the cached user control.


Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0,