JavaScript Base Type Extensions

The AJAX library contains base type extensions that add functionality to the string, array, number, Boolean error, and object types. These extensions are useful when you are working with JavaScript primitive data types and when you are working with text in the browser. The base type extensions also provide support for the browser’s current culture when used in a localized application.

To enable automatic localization of the Web application, add the following globalization node to system.web in web.config, and set the ScriptManager’s EnableScriptGlobalization property to true.

<globalization culture="auto" />

The base type extensions described in the following sections can be used to simplify the JavaScript programming ...

Get Developing Service-Oriented AJAX Applications on the Microsoft® Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.