PartialCachingControl.CachedControl Property

 

Gets a reference to the user control that is cached.

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

member CachedControl : Control with get

Property Value

Type: System.Web.UI.Control

The user control that is cached.

This property returns the user control only when its output is not cached. If the user control output exists in the output cache, this property returns null, because an instance of the control is never created.

.NET Framework
Available since 1.1
Return to top
Show: