ControlCachePolicy.VaryByControl Property
.NET Framework (current version)
Gets or sets a list of control identifiers to vary the cached output by.
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 VaryByControl property is set outside of the initialization and rendering stages of the control. |
.NET Framework
Available since 2.0
Available since 2.0
Show: