ASP.NET AJAX的安裝和簡單配置淺析
1.在安裝ASP.NET AJAX 1.0 Beta之前,需要先卸載以前所有的CTP版本。
2.下載ASP.NET AJAX 1.0 Beta安裝包,安裝時Microsoft.Web.Extensions.dll程序集將被安裝在GAC(Global Assembly Cache)中,所以使用時不需要再在Web站點的Bin文件夾中包括該程序集。
3.下載安裝ASP.NET AJAX “Value-Add”CTP和ASP.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àn)一項ASP.NET AJAX-enabled Web site,直接選擇它就可以了,如下圖:
新建完成的項目中會自動在Web.config中做好相關(guān)的配置,并且AJAXExtensionToolbox.dll已經(jīng)添加到了VS的工具箱中,不需要再手工添加。
ASP.NET AJAX的安裝和簡單配置需要注意的就向你介紹到這里,希望對你了解ASP.NET AJAX有所幫助。
【編輯推薦】