EnableCdn Property

ScriptManager.EnableCdn Property

.NET Framework 4.6 and 4.5

Determines whether the current page loads client script references from CDN (Content Delivery Network) paths.

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

public bool EnableCdn { get; set; }

Property Value

Type: System.Boolean

true if client script references are loaded from CDN paths, otherwise, false.

Do not set this property to true if you set LoadScriptsBeforeUI to true already.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft