Freetextbox is a free. NET MSHTML editor.
The free freetextbox version I use is the Chinese version of 1.6.3 Freetextbox.
Get the address. http://www.percyboy.com/w/ftb/
After downloading a closer look at the instructions, you can use the perfect editor.
The example is the inline code, if you use Freetextbox after the code is placed.
1. First, we copy the FreeTextBox.dll file to the bin directory of our project.
Then add a new reference to our project, select the item tag in the Add Reference dialog box, and browse/select your freetextbox.dll/to open/OK. The application is added to complete.
2, how to obtain the FreeTextBox.dll used in the name space, the Chinese version 1.6.3 has 3 namespaces.
Using Freetextboxcontrols;
Using Freetextboxcontrols.design;
Using Freetextboxcontrols.common;
You can view object browsing in the referenced FreeTextBox.dll.
Click on the tree directory to see clearly, the name of the space mentioned above.
Other versions are similar to available.
3. Add Freetextbox in aspx file
<%@ Register tagprefix= "FTB" namespace= "Freetextboxcontrols" assembly= "Freetextbox"%>
The exact method is the same as inline.
At the same time, the CS file will have the following code:
protected Freetextboxcontrols.freetextbox FreeTextBox1;
After you've added it, run it and you'll see the results.
In design mode we can also view the Freetextbox properties.
4, how to write Freetextbox content to the database, we add a bottom in the aspx file
Its onclick= "My_add"
CS file
protected void My_add (object sender, System.EventArgs e)
{
Place user code here to initialize page
Response.Write (Freetextbox1.text);
}
Here is the output, which can be changed to what we need.
-->