One of the important aspects of ASP.NET is that it provides a mechanism for developers
to globalize (i.e., date formats, etc.) and localize (i.e., string translations) their web
applications to support different languages based on the user??™s browser setting. The AJAX
Library also provides this mechanism. Globalization is supported through the Base Class
Library??™s Sys.CultureInfo class and the localFormat method on the number, date, and
string types. Localization is supported through a combination of the Sys.CultureInfo
CHAPTER 2 ?– TAKING AJAX TO THE NEXT LEVEL 26
class and the ability to load JavaScript files at runtime: By having a set of equivalent
JavaScript files in different languages, you can load the one that is applicable.
The ASP.NET AJAX installation package, which can be downloaded from
http://www.asp.net/ajax/, includes both the client-side and server-side portions.
However, the AJAX Library is also offered as an independent download. The client-side
portion of ASP.NET AJAX can be used independently of the server-side portion, which
means you can develop AJAX applications using the Microsoft AJAX Library and host
them on non-Microsoft web servers.
Pages:
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76