Redigera

Dela via


ScriptManager.EnableScriptGlobalization Property

Definition

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.

Applies to

See also