0% found this document useful (0 votes)
106 views

Ajax Control Toolkit

The AjaxControlToolkit package allows for easy installation into an ASP.NET Web Forms project in Visual Studio using NuGet. It provides controls like the HtmlEditorExtender that can turn a basic TextBox into a rich HTML editor. The document outlines how to register the AjaxControlToolkit, add a ToolkitScriptManager, and use controls like the HtmlEditorExtender to enhance forms.

Uploaded by

Vo Phi Long
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views

Ajax Control Toolkit

The AjaxControlToolkit package allows for easy installation into an ASP.NET Web Forms project in Visual Studio using NuGet. It provides controls like the HtmlEditorExtender that can turn a basic TextBox into a rich HTML editor. The document outlines how to register the AjaxControlToolkit, add a ToolkitScriptManager, and use controls like the HtmlEditorExtender to enhance forms.

Uploaded by

Vo Phi Long
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

http://nuget.

org/packages/AjaxControlToolkit
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 Jun 25 at 3:36 AM by Superexpert, version 90

You might also like