A friend who often pays attention to my blog may have noticed that in my blog's left series, I have removed the recommendation for the Atlas Learning Notebook series, because with the release of the ASP. NET AJAX 1.0 beta release, they no longer apply, in order not to continue to mislead the vast number of friends, So no longer as a recommended series of articles, if you need to refer to friends, you can directly to the essay category to view.
The ASP. NET AJAX beta changes were so large that, given the lack of good Chinese references, I decided to start writing the ASP. NET AJAX Starter Series, which I would treat as a whole new thing with ASP, no longer considering the previous Atlas, The study of ASP. NET AJAX to share with you, easy to beginner friends to take a few detours. Friends who are familiar with Atlas can recommend seeing Dflying Chen's embrace change-from atlas to the ASP-Ajax series, as well as Lao Zhao's Deep Atlas series. Because of the personal ability and the degree of mastery is limited, there are inevitably errors and omissions in the place, but also ask you to understand and correct.
OK, let's start from here!
A ASP. NET AJAX Components
The following three downloads are available on the Web Ajax official website:
1. asp: This part is the core of ASP., including the core Ajax type system, the network protocol layer (networking stack), the component model, the Extender (extender) base class, and the server-side features integrated with ASP. (includes popular scriptmanager,updatepanel, and timer controls). The list of features is as follows:
Service-side Feature List |
Asynchronous Client-to-server Networking |
Authentication as a WEB service |
Controlextender class |
Profile as a Web service |
ScriptManager and ScriptManagerProxy controls |
Static page methods as Web services |
Timer Control |
UpdatePanel Control |
UpdateProgress Control |
List of client features |
Authentication for JavaScript |
Behavior class |
Calling. asmx Web services from JavaScript |
Component class |
Control class |
Debug class |
JavaScript Array type extensions |
JavaScript Boolean type extensions |
JavaScript Error type extensions |
JavaScript Number type extensions |
JavaScript Object type extensions |
JavaScript String type extensions |
JSON serialization |
Profile for JavaScript |
Trace class |
2. The "Add-on" CTP portion of the ASP. Value-add CTP:ASP.NET Ajax Community support includes additional advanced features that were included in previous Atlas CTP versions, but not in the fully supported "core" 1.0 release. With further feedback, these will gradually increase steadily to the core 1.0. The list of features is as follows:
Service-side Feature List |
Autocompleteextender class |
Cross-browser Web Parts Drag-and-drop |
Dragoverlayextender Control |
Popupextender class |
List of client features |
Actions |
Autocompletebehavior class |
Batchresponse class |
Binding component |
Button Control |
Checkbox Control |
Click behavior |
Counter class |
Cross-browser Web Parts |
Data Control |
Dragdroplist Control |
Dragdropmanager component |
Draggablelistitem Control |
Fadeanimation component Floating behavior |
Hover behavior |
Hyperlink Control |
Image Control |
Input Control |
Label Control |
Layout behavior |
Opacity behavior |
Popup behavior |
Selector Control |
Servicemethodrequest class |
Sys.data and Sys.UI.Data namespaces |
Textbox Control |
Timer Control |
Validator controls |
Xml-script Support |
3. ASP. NET AJAX Control Toolkit: Contains 28 very cool free Ajax controls based on the ASP. NET AJAX version 1.0 "core" download. It is an open source project, developed jointly by Microsoft and non-Microsoft developers, to CodePlex download code.
Two Installing ASP. NET AJAX
1. Before installing ASP. NET AJAX 1.0 beta, you need to uninstall all previous CTP versions.
2. Download the ASP. 1.0 Beta installation package, the Microsoft.Web.Extensions.dll Assembly will be installed in the GAC (Global Assembly Cache) at the time of installation. Therefore, you do not need to include the assembly in the Bin folder of your Web site when you use it.
3. Download the installation of ASP. NET AJAX "Value-add" CTP and ASP. NET AJAX Control Toolkit. The list is as follows:
Name |
Describe |
Accordion: |
The Create efficient UI from the multiple panes with the this animated control. |
Alwaysvisiblecontrol |
Docks a panel to a corner of the browser window and keeps it visible even when the user scrolls. |
Animation |
Adds powerful, easy-to-use animations to any element or control. |
CascadingDropDown |
Easily link drop downs, complete with asynchronous population and no postbacks! |
Collapsiblepanel |
This extender allows panels on your page to collapse and expand with no code. |
ConfirmButton |
This extender adds a confirm dialog to any Button, LinkButton, or ImageButton control. |
Dragpanel |
Makes any panel to an object so you can drag around the page. |
DropDown |
This extender can wrap any control to provide a Sharepoint-style drop-down menu, is attached to the control. |
DropShadow |
This extender adds attractive drop shadows to any control on the page |
Dynamicpopulate |
Replace the contents of a page element with the result of a web-service call. |
Filteredtextbox |
Restrict the types of input that text boxes would accept. |
Hovermenu |
Allows UI to pops up next-to-a control when the mouse hovers over it. |
ModalPopup |
Allows to show styled modal UI without using HTML dialogs. |
Mutuallyexlcusivecheckbox |
By adding a number of checkboxes to the same "Key", only one checkbox with the specified Key can is checked at a time. |
Nobot |
Applies simple rules to prevent automated bots or scripts from posting to a page. |
NumericUpDown |
Allow users to easily increase and decrease values using the-mouse to scroll through values. |
Pagingbulletedlist |
ADD paging and sorting to long bulleted lists. |
Passwordstrength |
Give your users visual cues to help them create secure passwords. |
Popupcontrol |
This extender turns any panel into a popup. |
Rating |
Let your the users easily give feedback by rating content with this easy-to-use control. |
Reorderlist |
This control was a full-featured Data-bound control that allows it elements to being reordered on the client via drag and DRO P. |
Resizablecontrol |
Allow users to dynamically resize content, right in the browser |
RoundedCorners |
Rounds the corners of any control for a clean, professional look! |
Slider |
Adds an elegant Scrollbar-like user interface for setting numeric values. |
Textboxwatermark |
This extender adds "watermark" prompt text to textboxes on the page. |
ToggleButton |
This extender turns an ASP. |
Updatepanelanimation |
Animates page elements corresponding to hidden postback activity. |
Validatorcallout |
This extender enhances the functionality of existing ASP. |
Three Developing ASP. NET AJAX-based applications in Visual Studio.NET 2005
After you install ASP. NET AJAX, open new Web site in Visual Studio.NET 2005, an ASP. NET ajax-enabled Web site appears in the project template, and you can select it directly, such as:
The newly completed project will automatically be configured in the Web. config, and AJAXExtensionToolbox.dll has been added to the VS Toolbox, no need to add it manually.
A brief introduction to this article, starting with the next article, is to learn each of the specific features in ASP.
Next trailer: ASP. NET AJAX Starter Series (2): Using ScriptManager
ASP. NET AJAX Primer Series (1): overview