This documentation is archived and is not being maintained.

PartialCachingControl Class

Created when a user control (.ascx file) is specified for output caching, using either the @ OutputCache directive or the PartialCachingAttribute, and is added to a page programmatically.

For a list of all members of this type, see PartialCachingControl Members.

System.Object
   System.Web.UI.Control
      System.Web.UI.BasePartialCachingControl
         System.Web.UI.PartialCachingControl

[Visual Basic]
Public Class PartialCachingControl
   Inherits BasePartialCachingControl
[C#]
public class PartialCachingControl : BasePartialCachingControl
[C++]
public __gc class PartialCachingControl : public
   BasePartialCachingControl
[JScript]
public class PartialCachingControl extends
   BasePartialCachingControl

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

You can add a user control to a page programmatically by calling the LoadControl method.

Requirements

Namespace: System.Web.UI

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)

See Also

PartialCachingControl Members | System.Web.UI Namespace | @ OutputCache | Caching Portions of an ASP.NET Page

Show: