ScriptManager.EnableScriptGlobalization Property

Gets or sets a value that indicates whether the ScriptManager control renders script that supports parsing and formatting of culture-specific information.

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

public bool EnableScriptGlobalization { get; set; }

Property Value

Type: System.Boolean
true if culture-specific information can be displayed; otherwise, false. The default value is false.

When the EnableScriptGlobalization property is set to true, globalized ECMAScript (JavaScript) functions such as the Date.localeFormat method display culture-specific information. The culture can be set in the browser, in server code, or in the Web site's configuration file.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft