ASP. NET Ajax 1.0 Beta 2 released

Source: Internet
Author: User

Beta 2 includes three downloads (each supports the go-live License)

ASP. NET Ajax 1.0 beta2: This is the core download of ASP. NET Ajax. It contains all the features that will be fully supported by ASP. NET Ajax 1.0 (meaning that Microsoft's 24x7 Product supports. This download also includes the core client JavaScript type system, network protocol layer (networking stack), component model, extender base class, and ASP.. Net integrated server functions (including popular scriptmanager, updatepanel, updateprogress, and timer controls.

ASP. NET Ajax Control Toolkit:This download contains more than 30 free ASP. net Ajax controls (including all source code). These controls, including cascading drop-down boxes, animation effects, mode dialogs, and in-situ pop-up extensions, make the implementation of common Ajax scenarios extremely simple. This toolkit consistsCommunityIt is developed by an open-source team composed of Microsoft and non-Microsoft developers. It only uses the Ajax features included in the above ASP. NET Ajax 1.0 beta2 core version.

ASP. NET Ajax for future versions:This download includes a preview of the future Ajax features we are developing. These features are very likely to be transferred to ASP after being fully implemented (baked) and understood. net Ajax core download. If you want to use APIs that are not changed or fully supported, you should download and develop them for the above core. However, if you want to push the envelope, this download provides some available features.

New features in ASP. NET Ajax beta 2

In addition to defect repair, ASP. NET Ajax beta 2 also includes several notable feature improvements:

Updateprogress control:The updateprogress control is now included in the fully supported core ASP. NET Ajax 1.0 Beta 2 download (in beta1, it also belongs to the CTP download ). The updateprogress control is greatly improved compared with the earlier version of Atlas CTP. Currently, it supports multiple updateprogress controls on the same page, it can be displayed or hidden with the updated updatepanel. The updateprogress control now also has a useful displayafter attribute, allowing you to easily control how long the updateprogress animation should be displayed (to avoid displaying the animation when the reply is very fast ).

Degrade): Added a Boolean attribute supportspartialrendering to scriptmanager to indicate whether the browser sending the request supports Ajax. By default, this attribute is automatically configured through settings in the browsercapabilities System of ASP. NET (Meaning you can modify or customize the settings in the. Browser file ). If you set this attribute to false for a specific browser or device, Asp. net Ajax will automatically degrade. Instead of using the partial update display provided by updatepanel, it uses the usual PostBack and full-page update.

Simplified client event binding API:The client Ajax JavaScript library now has a clean mechanism to bind DOM elements and remove multiple event processors, reducing the amount of data you need to writeCodeAnd helps avoid Memory leakage. Read Bertrand's blog post to learn details about the new model.

Client-side JavaScript Localization:Client scripts can now automatically obtain localized resources from the server, which makes it easier to construct a web UI that is conscious of the language/region.

Improvements in client JavaScript debugging and tracing:Several improvements are added to beta2 to identify and diagnose JavaScript problems. You can also use DEBUG now. trace and debug. dump outputs JavaScript tracking statements to the textarea element embedded on the page or to the popular firebug browser plug-in or to the webdevhelper plug-in tool of Nikhil.

ASP. the net Ajax development team has also developed several useful JavaScript source code management tools to add the debugging parameter verification code to the JavaScript source code, then, you can use the "publish" or "debug" mode to remove the scripts based on your processing. In the near future, we will use the source code of these tools as ASP. net Ajax Control Toolkit, which allows developers to easily use these tools in their own projects. We will even provide some cool msbuild tasks that you can add as part of your standard Build Process for them to run automatically.

Client-side JavaScript CSS helper class:It now contains a useful JavaScript library that allows developers to easily add, remove, and switch between client controls and CSS classes on elements.

Drag and Drop support for ASP. NET Web parts in Safari and Firefox:Now you can drag and drop ASP. NET Web parts in Firefox and Safari. Earlier CTP versions do not support the latter. Read David barkol's blog post for details, or click here to view the screen for customizing Web Part portals in Safari on Mac.

Performance and Stability Improvement:The scriptmanager API is improved to provide more support for handling timeout situations of dynamic loading scripts. The script component can also register the dispose processing mechanism to avoid Memory leakage.

Upgrade from ASP. NET Ajax Beta 1 to Beta 2

A document on the http://ajax.asp.net home page describes how to update an existing ASP. NET Ajax beta1 application to using beta2. This should be relatively straightforward. It only takes a few minutes. Note that you need to add "scriptresources. axd"

<Add verb = "get"
Path = "scriptresource. axd"
Type = "Microsoft. Web. Handlers. scriptresourcehandler"
Validate = "false"/>

If you do not do this, you will see the following JavaScript error at runtime:

'Sys 'is undefined.

I hope this article will help you,

You can download this version here.

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.