NET AJAX 117
Figure 6-5. Editing the task list in the ASP.NET designer
Once again, you see ScriptManager, UpdatePanel, and UpdateProgress controls as a
recurring theme. Let??™s start by looking at the markup for the UpdateProgress control in
this page:

Updating .....
CHAPTER 6 ?– USING SERVER CONTROLS IN ASP.NET AJAX 118
You won??™t find anything out of the ordinary here. Just a simple
tag with an animating GIF image and the text ???Updating??¦??? to notify the user about the
status in case there is a delay with data access during an operation such as update or
insert.
This page also contains two UpdatePanel controls. The first one is for the list of tasks,
whereas the second one allows the user to insert a new task. The top UpdatePanel control
contains an ASP.NET GridView control. Because it??™s in an UpdatePanel control, and partial
rendering is enabled, postbacks caused by actions on this panel should incur only partial
refreshes, which improves the user experience.
Pages:
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194