[Ajax Notes] updatepanel control Introduction

Source: Internet
Author: User
The updatepanel control allows you to build a wide range of applications similar to clients.Program. By applying the updatepanel control, you can perform partial update for page callbacks without updating the entire page. This is the partial update of the reference page. referencing a scriptmanager control and one or more updatepanel controls on the page allows you to update the entire page without any script.

Updatepanel is a server-side control that helps us develop our pages with complex client behavior, making our pages more user-friendly. Some updates on the client and server often require complicated JavaScript support. However, with the updatepanel control, you can implement this function without writing a line of JS. If you want to, you can add custom scripts to improve the user experience of the client. Updatepanel has no browser dependency (compatible with all browsers) and can reduce the amount of data transmitted between the server and the client.

Of course, to achieve that effect, we need to have another server control to collaborate. Because no matter what Ajax is dependent on the asynchronous callback of the script, scriptmanager is essential, it can reference the script library used in Ajax. When a partial page update is activated, the updatepanel control can send data asynchronously to the server. When the server returns the callback result after processing. webforms. the pagerequestmanager class will execute the Dom to operate the updated HTML and replace the result with the existing HTML.

Related Article

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: info-contact@alibabacloud.com 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.