Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

EnableCaching Property

Gets or sets whether caching is enabled for script files that are embedded as resources in an assembly.

Syntax

CSharp

[ConfigurationPropertyAttribute("enableCaching", DefaultValue = true)]
public bool EnableCaching { get; set; }

VisualBasic

<ConfigurationPropertyAttribute("enableCaching", DefaultValue := True)> _
Public Property EnableCaching As Boolean

ManagedCPlusPlus

[ConfigurationPropertyAttribute(L"enableCaching", DefaultValue = true)]
public:
bool EnableCaching {
	bool get ();
	void set (bool value);
}

JSharp

/** @property */
/** @property */

Value

Return Value

true if caching is enabled for script files that are embedded as resources in an assembly; otherwise, false. The default is true.

Remarks

The EnableCaching property gets or sets the value for caching the results of the embedded script file, for caching any potential localization objects, and for caching scripts.

Assembly: System.Web.Extensions (Module: System.Web.Extensions)