ScriptManager.EnableScriptGlobalization Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the ScriptManager control renders script that supports parsing and formatting of culture-specific information.
public:
property bool EnableScriptGlobalization { bool get(); void set(bool value); };
public bool EnableScriptGlobalization { get; set; }
member this.EnableScriptGlobalization : bool with get, set
Public Property EnableScriptGlobalization As Boolean
Property Value
true
if culture-specific information can be displayed; otherwise, false
. The default value is false
.
Remarks
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.