Xheditor configuration in Asp.net and troubleshooting

Source: Internet
Author: User

Environment: VS2008SP1 + ASP. NET3.5SP1 + IE9

XhEditor Configuration:

Follow these steps to learn how to use xhEditor:

Download the latest xhEditor: Latest.
NOTE: If your website does not use the jQuery framework, upload the jquery-1.4.2.min.js in the jquery folder together and add the following code before the web page head tag that needs to call the xhEditor editor ends:

<Scripttype = "text/javascript" src = "/js/jquery-1.4.2.min.js"> </script>
<Scripttype = "text/javascript" src = "/js/xheditor-zh-cn.min.js"> </script>

Note:

Modify the js file paths of jQuery and xhEditor based on the specific path of your website.

Add class = "xheditor" to the textarea attribute of the text box to be visualized"
For example:

<Textarea name = "content" class = "xheditor"> test </textarea>

After the preceding steps, you have successfully installed the xhEditor On Your webpage.

To learn more about how to use the xhEditor, see xhEditor advanced usage.

Personal instance reference diagram:


Folder relative location

Page code

Editor preview

The xheditor editor is not displayed during vs2008 debugging. The solution is as follows:

Change the website's virtual path to "/", for example:

Related Article

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.