Ajax Control Toolkit
Ajax Control Toolkit
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