小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

ASP.NET AJAX入門系列(1):概述

 趨明 2012-03-27

 

經(jīng)常關(guān)注我的Blog的朋友可能注意到了,在我Blog的左邊系列文章中,已經(jīng)移除了對(duì)Atlas學(xué)習(xí)手記系列文章的推薦,因?yàn)殡S著ASP.NET AJAX 1.0 Beta版的發(fā)布,它們已經(jīng)不再適用,為了不繼續(xù)誤導(dǎo)廣大朋友,所以不再作為推薦系列文章,如果有需要參考的朋友,可以直接到隨筆分類中查看。

ASP.NET AJAX Beta改動(dòng)如此之大,鑒于又沒有很好的中文參考資料,所以決定最近開始寫作ASP.NET AJAX入門系列,這個(gè)系列我會(huì)把ASP.NET AJAX當(dāng)作一個(gè)全新的東西去對(duì)待,不再考慮以前的Atlas,把自己對(duì)ASP.NET AJAX的研究與大家分享,便于初學(xué)的朋友少走一些彎路。對(duì)Atlas熟悉的朋友可以推薦看Dflying Chen的《擁抱變化——從AtlasASP.NET AJAX系列》,以及老趙的《深入Atlas系列》。由于個(gè)人的能力和掌握的程度有限 ,難免出現(xiàn)錯(cuò)誤和遺漏的地方,還請(qǐng)大家多多理解和指正。

OK,讓我們從這里開始!

 

一.ASP.NET AJAX組成部分

ASP.NET AJAX官方網(wǎng)站上有如下三個(gè)下載:

1ASP.NET AJAX:這部分是ASP.NET AJAX的核心部分,包括了核心AJAX類型系統(tǒng),網(wǎng)絡(luò)協(xié)議層(networking stack),組件模型,擴(kuò)展器(extender)基類,以及與ASP.NET集成的服務(wù)器端功能(包括廣受歡迎的ScriptManager,UpdatePanel,和 Timer控件)。功能列表如下:

服務(wù)端功能列表

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

客戶端功能列表

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

2ASP.NET AJAX “Value-Add”CTPASP.NET AJAX社區(qū)支持的“增值”CTP部分,包括了以前各個(gè)Atlas CTP版本包含的,但并不在完全支持的“核心”1.0 版本內(nèi)的額外的高級(jí)特性。通過(guò)進(jìn)一步的反饋,這些將會(huì)逐步穩(wěn)定的增加到核心1.0中去。功能列表如下:

服務(wù)端功能列表

AutoCompleteExtender class

Cross-browser Web Parts drag-and-drop

DragOverlayExtender control

PopupExtender class

客戶端功能列表

Actions components

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

3ASP.NET AJAX Control Toolkit:包含了基于ASP.NET AJAX 1.0 版“核心”下載版本的28個(gè)非常酷的免費(fèi)AJAX控件。它是一個(gè)開源項(xiàng)目,由微軟和非微軟開發(fā)人員共同開發(fā)的,去CodePlex下載代碼。

 

二.安裝ASP.NET AJAX

1.在安裝ASP.NET AJAX 1.0 Beta之前,需要先卸載以前所有的CTP版本。

2.下載ASP.NET AJAX 1.0 Beta安裝包,安裝時(shí)Microsoft.Web.Extensions.dll程序集將被安裝在GACGlobal Assembly Cache)中,所以使用時(shí)不需要再在Web站點(diǎn)的Bin文件夾中包括該程序集。

3.下載安裝ASP.NET AJAX “Value-Add”CTPASP.NET AJAX Control Toolkit。列表如下:

名稱

描述

Accordion:

Create efficient UI from multiple panes with 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 into an object that you can drag around the page.

DropDown

This extender can wrap any control to provide a SharePoint-style drop-down menu that 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 will accept.

HoverMenu

Allows UI to pop up next to a control when the mouse hovers over it.

ModalPopup

Allows you 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 be 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 users easily give feedback by rating content with this easy-to-use control.

ReorderList

This control is a full-featured data-bound control that allows its elements to be reordered on the client via drag and drop.

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.NET CheckBox into an image checkbox.

UpdatePanelAnimation

Animates page elements corresponding to hidden postback activity.

ValidatorCallout

This extender enhances the functionality of existing ASP.NET validators.

 

三.在Visual Studio.NET 2005開發(fā)基于ASP.NET AJAX的應(yīng)用

安裝完ASP.NET AJAX后,打開Visual Studio.NET 2005中新建Web Site,在項(xiàng)目模板中會(huì)出現(xiàn)一項(xiàng)ASP.NET AJAX-enabled Web site,直接選擇它就可以了,如下圖:

新建完成的項(xiàng)目中會(huì)自動(dòng)在Web.config中做好相關(guān)的配置,并且AJAXExtensionToolbox.dll已經(jīng)添加到了VS的工具箱中,不需要再手工添加。

 

概述篇簡(jiǎn)單的介紹這里,從下一篇開始學(xué)習(xí)ASP.NET AJAX中的每一項(xiàng)具體的功能。

下篇預(yù)告:ASP.NET AJAX入門系列(2):使用ScriptManager

作者:TerryLee
出處:http://terrylee.cnblogs.com
本文版權(quán)歸作者和博客園共有,歡迎轉(zhuǎn)載,但未經(jīng)作者同意必須保留此段聲明,且在文章頁(yè)面明顯位置給出原文連接,否則保留追究法律責(zé)任的權(quán)利。
 

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類似文章 更多