Provides the base functionality for the System.Web.UI.StaticPartialCachingControl and System.Web.UI.PartialCachingControl classes.
See Also: BasePartialCachingControl Members
The System.Web.UI.BasePartialCachingControl class represents a user control that has output caching enabled in programmatic scenarios. ASP.NET provides several ways to enable output caching for a control. The following list describes methods you can use to enable output caching:
Use the @ OutputCache directive to enable output caching in declarative scenarios.
Use the System.Web.UI.PartialCachingAttribute class to enable caching for a user control in a code-behind file.
Use the System.Web.UI.ControlCachePolicy class to specify cache settings in programmatic scenarios in which you are working with System.Web.UI.BasePartialCachingControl instances.