NET AJAX controls and libraries. Table 4-19 lists all the global shortcuts in
the ASP.NET AJAX Client Library.
Table 4-19. Global Shortcuts in the ASP.NET AJAX Client Library
Shortcut Description
$addHandler Shortcut to the Sys.UI.DomEvent.addHandler method
$addHandlers Shortcut to the Sys.UI.DomEvent.addHandlers method
$clearHandlers Shortcut to the Sys.UI.DomEvent.clearHandlers method
$create Shortcut to the Sys.Component.create method
$find Shortcut to the Sys.Application.findComponent method
$get Shortcut to the Sys.UI.DomElement.getElementById method
$removeHandler Shortcut to the System.UI.DomEvent.removeHandler method
CHAPTER 4 ?– ASP.NET AJAX CLIENT LIBRARIES 77
Other Commonly Used Classes in the Sys
Namespace
The following sections describe other often-used classes in the Sys namespace in greater
detail.
Sys.Browser
One of the challenges of web development for more than a decade has been targeting
and accounting for browser-specific behaviors. Typically, JavaScript is used to query the
various user agent parameters (obtained from the HTTP headers) to identify the browser
type and version.
Pages:
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143