:
This is what we often use when editing text on a webpage.
It is often used when using Asp.net for website creation. The following describes how to add the freetextbox component to Asp.net.
Preparation: Download freetextbox, you can go to the official http://freetextbox.com to download the latest version, you can also go to gougou.com to download a Chinese version. The decompressed freetextbox. dll file is used.
Configure now:
1. open vs2005, create a website, right-click the project in solution, select Add reference, select Browse, and insert the downloaded freetextbox. DLL file, OK. In this case, you can see a bin folder in the directory bar, which contains the freetextbox. dll file.
2. Go to the default. aspx page (the website page just created), and register it on the second line of source code.Code Copy codeThe Code is as follows: <% @ register tagprefix = "Ftb" namespace = "freetextboxcontrols" assembly = "freetextbox" %>
3. Add <div> and </div> in the middle of the source code pageCopy codeThe Code is as follows: <Ftb: freetextbox id = "freetextbox1" runat = "server" supportfolder = "aspnet_client/freetextbox/" buttonset = "office2003" Height = "200" width = "400"/>
The "app_licenses.dll" file is added to the bin directory, and a design box is displayed on the interface. In this way, we can directly set relevant attributes, such as the size and style. Now we have added the freetextbox editor to the Asp.net page.