SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 164 | Next

Robin Pars, Laurence Moroney, and John Grieb

"Foundations of ASP.NET AJAX"


Introducing the UpdateProgress Control
Another server control that ASP.NET AJAX provides is the UpdateProgress control. This
indicates the progress of an asynchronous operation that is taking place. Typically, the
browser??™s status bar serves as an indicator of activity. With the partial-rendering and
asynchronous postback model in AJAX applications, viewing the status bar of the
browser is no longer applicable, which is why the UpdateProgress control is ideal and
more user friendly for displaying activity indicators on a web page.
Using the UpdateProgress Control
You can have a single UpdateProgress control on your page for multiple UpdatePanels or
have multiple UpdateProgress controls with different UIs for the UpdatePanels if you want
to have different progress indicators for different sections of the page. By default, if you
don??™t set the AssociatedUpdatePanelID property of the UpdateProgress control, it will be
triggered by events in all UpdatePanels on the page (assuming there is more than one).
To use an UpdateProgress control, you drag and drop it onto your page to create an
tag on your page:

The actual markup to display when the call is taking place is then defined using the
tag.


Pages:
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176