ControlCachePolicy.Cached Property
.NET Framework (current version)
Gets or sets a value indicating whether fragment caching is enabled for the user control.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| HttpException | The user control is not associated with a BasePartialCachingControl and is not cacheable. - or - The Cached property is set outside of the initialization and rendering stages of the control. |
.NET Framework
Available since 2.0
Available since 2.0
Show: