ASP. NET first knowledge 4

Source: Internet
Author: User
1. ASP. NET Ajax Architecture
Ajax Server Control: scriptmanager is the script manager, which provides users with Ajax scripts and is indispensable.
Updatepanel is a container control in which the control has the function of local update.
Web servers Bridge: by default, the client's javascript can only access the Web Services in the current domain, and the Web Bridge will create CodeAllows the client's JavaScript code to access the Web service across domains.
Application ProgramService Bridge:
2. Register web services in scriptmanager
After registration, you must use JavaScript code to call the service after the body.
3. Programming Control scriptmanager Control
The enablepartialrendering attribute is set to true. If it is set to false, the whole page will not be updated locally and thus the Ajax effect will be lost.
The allowcustomerrorsredirect attribute determines whether to automatically redirect when Ajax generates an error based on the <customerror> section settings in Web. config. If the error handling method has been customized, the attribute should be set to false.
The supportspartialrendering attribute must be true (default). If no explicit setting is available, its value depends on the browser function.
Enablescriptglobalization attribute enables the client script to display a specific date and time in the browser
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.