You also learned about the ASP.NET AJAX JavaScript extensions
that bring about a great deal of object-oriented support to JavaScript, thereby
allowing you to create classes, events, interfaces, and even the ability to implement
inheritance in JavaScript. These additions bring JavaScript one step closer to the .NET
programming model with which you??™re already familiar. In this chapter, you??™ll learn a bit
more about the JavaScript extensions and the built-in types as well as explore the main
components of the ASP.NET AJAX client library.
JavaScript Type Extensions
In the previous chapter, you saw the JavaScript extensions made available by the ASP.NET
AJAX client library and how you can use them to build object-oriented script files for your
web application. In this section, we??™ll revisit the JavaScript extensions and discuss some
of the new types included in the base class libraries that to some extent resemble those
found in the .NET Framework. Keep in mind, however, that JavaScript by nature is not a
strongly typed language, and the classes discussed here are not natively supported types.
Pages:
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111