PartialCachingControl Class

Created when a user control (.ascx file) is specified for output caching, using either the page directive or the PartialCachingAttribute attribute, and the user control is inserted into a page's control hierarchy by dynamically loading the user control with the TemplateControl.LoadControl method.

Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same Control.ID property value.(Inherited from Control.)

This API supports the product infrastructure and is not intended to be used directly from your code.
Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page.(Inherited from Control.)

This API supports the product infrastructure and is not intended to be used directly from your code.
Sets the ClientIDMode property of the current control instance and of any child controls to Inherit.(Inherited from Control.)

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.(Inherited from Control.)

This API supports the product infrastructure and is not intended to be used directly from your code.
Searches the current naming container for a server control with the specified id and an integer, specified in the pathOffset parameter, which aids in the search. You should not override this version of the FindControl method.(Inherited from Control.)

This API supports the product infrastructure and is not intended to be used directly from your code.
Outputs the user control's content to the specified HtmlTextWriter output stream.(Inherited from BasePartialCachingControl.)

This API supports the product infrastructure and is not intended to be used directly from your code.
Assigns an event handler delegate to render the server control and its content into its parent control.(Inherited from Control.)

Causes tracking of view-state changes to the server control so they can be stored in the server control's StateBag object. This object is accessible through the Control.ViewState property.(Inherited from Control.)

Page and control developers cannot use the PartialCachingControl class directly. ASP.NET creates an instance of the PartialCachingControl class to wrap a user control (.ascx file) when a dynamically loaded user control enables output caching. You can enable output caching for a user control using either the @ OutputCache page directive or the PartialCachingAttribute attribute.