Programming for UpdateProgress controls in client script

Source: Internet
Author: User
Tags visual studio

In this tutorial, you will extend the UpdateProgress control with client behavior by writing ECMAScript (JavaScript) code. Your code will use the PageRequestManager class, which is part of the Microsoft AJAX Library. In the UpdateProgress control, you will add a button that enables the user to cancel an asynchronous postback. As part of this task, you will use client script to display or hide progress messages.

This topic assumes that you understand the UpdateProgress control. If you don't know, see the topic UpdateProgress Control Introduction.


To implement these procedures in your own development environment, you need to:

Microsoft Visual Studio 2005 or Visual Web Developer Express Edition.

An AJAX-enabled web site.

To cancel an asynchronous postback in client script

Create a new Web page and switch to Design view.

In the AJAX Extensions tab of the Toolbox, double-click the ScriptManager control, the UpdatePanel control, and the UpdateProgress control to add an instance of each control to the page.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.