ScriptManager.EnableCdn Property

Definition

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

C#
public bool EnableCdn { get; set; }

Property Value

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

Remarks

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

Applies to

Produkt Verze
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1