.NET Framework Class Library
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)
Syntax

Visual Basic (Declaration)
Public Property EnableScriptGlobalization As Boolean
Visual Basic (Usage)
Dim instance As ScriptManager
Dim value As Boolean

value = instance.EnableScriptGlobalization

instance.EnableScriptGlobalization = value
C#
public bool EnableScriptGlobalization { get; set; }
Visual C++
public:
property bool EnableScriptGlobalization {
    bool get ();
    void set (bool value);
}
JScript
public function get EnableScriptGlobalization () : boolean
public function set EnableScriptGlobalization (value : boolean)
ASP.NET
<asp:ScriptManager EnableScriptGlobalization="True|False" />

Property Value

Type: System..::.Boolean
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.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5
See Also

Reference

Other Resources

Tags :


Page view tracker