Ajax Control Toolkit

http://ajaxcontroltoolkit.codeplex.com/

The Ajax Control Toolkit contains a rich set of controls that you can use to build highly responsive and interactive Ajax-enabled Web applications. The Ajax Control Toolkit contains more than 40 controls, including the AutoCompleteCollapsiblePanelColorPickerMaskedEditCalendarAccordionHTML Editor Extender, and Watermark controls. Using the Ajax Control Toolkit, you can build Ajax-enabled ASP.NET Web Forms applications by dragging-and-dropping Toolkit controls from the Visual Studio Toolbox onto an ASP.NET Web Forms page.

The latest release of the AJAX Control Toolkit is May 2012! Check out some of the new features at the announcement at Stephen Walther's blog post including the new AjaxFileUpload control and the improvements to the HtmlEditorExtender control.

To view an interactive Web site that demonstrates each of the Ajax Control Toolkit controls, visit the Ajax Control Toolkit Sample Site. The official website for the Ajax Control Toolkit -- which contains reference documentation, tutorials, and answers to frequently asked questions -- is located athttp://www.asp.net/ajaxlibrary/.

Visual Studio 2008 users, click the Downloads tab above and select the .NET 3.5 version of the toolkit.

Visual Studio 2010 users, install the ASP.NET AJAX Control Toolkit in seconds via NuGet:

The easiest way to install the Ajax Control Toolkit into a Visual Studio 2010 project is via NuGet.

It's easy! If you don't have NuGet, it's a very quick installation.

First, from with an ASP.NET Web Forms project in Visual Studio, install the AjaxControlToolkit package, eitherfrom the GUI or from the Package Manager Console.

Next, for example, register the AjaxControlToolkit at the top of the page (or in the web.config for the whole project)

<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit"%>

Now, add a ToolkitScriptManager and use some of the controls!  Here's how to turn a TextBox into a rich HTML editor.

<asp:ToolkitScriptManager runat="Server" />
<asp:TextBox
        ID="txtComments"
        TextMode="MultiLine"
        Columns="60"
        Rows="8"
        runat="server" />
 
<asp:HtmlEditorExtender
        TargetControlID="txtComments"
        runat="server" />

Which gives you this:

There's lots more to see in the AJAX Control Toolkit, so have fun exploring...Enjoy!

 

Last edited May 2 at 12:50 AM by Superexpert, version 88

转载于:https://www.cnblogs.com/daoxuebao/archive/2012/05/22/2513243.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值