Configure kindeditor text editor in Asp.net Environment

Source: Internet
Author: User

Note: This configuration method is only used on webpages with a wooden master page, if there is a master page .... I have not found a solution for this !!!

 Recently, I saw that kindeditor works very well, so I downloaded it and prepared it for use. The document is not awesome and I have been thinking about it for a long time. Record the operation steps today for emergency purposes!

1. Download kindeditor. Just click Baidu and download the latest version from the official website. I am using a kindeditor-4.0.4. After downloading, I will delete the following useless folders.

 

 

2. Change the name of the extracted and simplified directory to kindeditor and copy it to the root directory of the website.

 

3. Create a bin folder and copy the litjson. dll file to the bin folder., Add reference.

 

4. Open the kindeditor/asp.net/demo.aspxfile andCodeTo the

 

 

5. Change the path./to kindeditor and add validaterequest = "false" to the top"

 

6. Add a Textbox Control on the page, name the ID content1, and add a button named "Submit ". Adjust the textbox length and width properly, and change the "textmode" attribute to multiline,

7. (If vs2010 is used) Add the following items in the config file under <system. Web>:

 

8. Everything is fine. You can not only upload images, but also upload attachments, which is easy to use.

 

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.