EnableCache Property

The EnableCache property of the SearchBox class gets or sets a flag that indicates whether this Web Part is cached.

Property Value

true if this Web Part is cached; otherwise, false.

Remarks

The EnableCache property is read/write. The default value for this property is false. When this property is set to true, the HTML of this control is cached for CacheTimeOut amount of seconds.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security