The use of Freetextbox

Source: Internet
Author: User
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.
-->



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.