ScriptManager.EnableCdn Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Show: