CKEditor ASP.NET

1、在CKEditor官网下载两个文件,CKEditor x.x.x和CKEditor for ASP.NET。

2、解压ckeditor_aspnet_x.x.x.zip,将CKEditor.NET.dll复制粘贴到网站目录的Bin目录。

3、解压ckeditor_x.x.x.zip,将文件夹ckeditor复制粘贴到网站根目录下。

4、在Visual Studio工具箱中添加CKEditor控件。

5、创建网页,将CKEditorControl控件拖放到网页中,运行,即可看到CKEditor对象显示在网页内。

官网英文说明

If you want to integrate CKEditor with your ASP.NET page, follow the steps outlined below.

1. Go to the official CKEditor download site and download the latest versions of both CKEditor 3.x and the CKEditor for ASP.NET Control.

2. Unpack both installation packages to a desired location.

3. Add a reference to the CKEditor for ASP.NET Control to your website.

 In Visual Studio use the Add Reference command and browse to the bin\Release\CKEditor.NET.dll file from the unpacked CKEditor for ASP.NET installation package. You can also manually copy the DLL file to the bin folder of your application.

4. Copy the unpacked editor files from the CKEditor 3.x installation package and paste them into the application directory of your website.

5. Register the CKEditor for ASP.NET Control in your page:

 <%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

6. Insert a CKEditor instance into the page body:

 <CKEditor:CKEditorControl ID="CKEditor1" runat="server"></CKEditor:CKEditorControl>

7. Run the ASP.NET application and open the page in the browser. A CKEditor instance should be added to the page.

说明中步骤5、6是采用手写代码的方式。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值