Professional Visual Studio 2017 by Bruce Johnson

Professional Visual Studio 2017 by Bruce Johnson

Author:Bruce Johnson
Language: eng
Format: epub, pdf
ISBN: 9781119404590
Published: 2017-11-06T11:39:58+00:00


The web page now uses AJAX to provide a partial-page update. When you run this page and change an option in the drop-down list, the whole page is no longer refreshed. Instead, just the text within the textbox is updated. In fact, if you run this page you can notice that AJAX is too good at just updating part of the page. There is no feedback, and if you didn’t know any better, you would think that nothing is happening. This is where the UpdateProgress control becomes useful. You can place an UpdateProgress control on the page, and when an AJAX request is invoked, the HTML within the ProgressTemplate section of the control is rendered. The following code shows an example of an UpdateProgress control for your web form:

<asp:UpdateProgress ID="UpdateProgress1" runat="server"> <ProgressTemplate> Loading. </ProgressTemplate> </asp:UpdateProgress>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.