Professional Documents
Culture Documents
Acknowledgments
Introduction
ix
xix
RI
Development Trends
ASP.NET Development
TE
Design Methodology
Problems ASP.NET Solves
GH
TE
Advantages of Ajax
History of Ajax
Technologies That Make Up Ajax
Running Ajax Applications
MA
AL
RI
PY
CO
document.write()
Using document.write() in Nested for() Loops
window.status and Events
1
1
2
2
2
4
5
6
6
7
8
8
9
9
10
11
11
12
13
14
14
16
17
18
18
19
19
20
20
21
23
Contents
Manipulating the Style Sheet
Creating a Context Menu
Summary
Core Language
Variables
Comments
Datatypes
Operators and Expressions
Flow Control and Loops
More on Objects and Functions
Summary of Material So Far
Summary
24
26
27
29
30
30
31
33
34
35
35
35
36
39
40
43
51
51
53
57
62
64
69
70
74
77
77
78
A Little History
Synchronous Requests
Asynchronous Requests
Dealing with Response Data
Enhancing Usability
Passing Parameters to the Server
What about Web Services?
Summary
xii
78
81
82
84
88
93
97
102
Contents
Chapter 5: Data Communication: XML, XSLT, and JSON
XML
History of XML
XML Documents
Parsing XML
XML Summary
XSLT
How Processing Occurs
Built-In Functions
Processing with XSLT
Writing Functions in XSLT
X Path
Integrating XML and Ajax
JSON
Layout of JSON
JSON Example
Summary
103
104
104
105
111
112
112
112
114
116
120
121
122
124
124
125
126
127
Out-of-the-Box Controls
127
TreeView Control
GridView Control
DetailsView Control
128
129
132
Browser Compatibility
The Framework
132
133
ICallbackEventHandler Interface
Page.ClientScript System.Web.UI.ClientScriptManager
Summary
133
134
135
135
136
138
138
141
144
145
146
149
154
154
156
xiii
Contents
Chapter 7: Ajax.NET Professional Library
159
160
160
161
163
163
164
165
167
169
170
172
173
174
Summary
Server-Side Frameworks
Architectural Distinctions
xiv
175
176
176
177
177
177
179
180
182
183
191
192
193
194
195
195
196
199
201
203
203
207
Contents
ComfortASP.NET
Setup
Using ComfortASP.NET
What You Have Learned
MagicAjax
Setup
Using MagicAjax
What You Have Learned
Anthem.NET
Setup
Using Anthem.NET
What You Have Learned
Summary
Passing Types
Simple Data Types
Complex Data Types
Debugging
Debugging Using debug.dump
Debugging Using for() loop
208
208
209
219
219
219
220
231
231
231
232
246
246
249
249
250
251
251
252
253
253
255
257
257
258
263
265
267
267
273
274
276
277
280
281
281
283
283
283
284
xv
Contents
Chapter 11: Atlas Controls
Controls
Buttons
Sys.UI.Data Controls
Server Controls
Data Binding
Declarative Data Binding
Programmatic Data Binding
Binding Directions
Binding Transformations
Validation
Behaviors
Resources Used
Summary
285
285
285
286
287
295
295
297
300
300
300
307
309
309
311
312
312
313
314
314
314
314
314
318
320
320
322
323
324
325
328
329
Server-Side Debugging
329
xvi
330
331
Contents
JavaScript and Client-Side Debugging
Tools and Techniques of the Trade
Other Ways of Invoking the Debugger
Other Ways of Inspecting the Value of Variables
Script Debugging So Far
Browser Debugging Tools
The Man in the Middle
Summary
332
332
342
344
347
347
351
361
363
373
xvii