日期:2014-05-17  浏览次数:20482 次

要疯啦~~!大哥们快来教我用一下ckeditor3.6.2
下载的两个包ckeditor_3.6.2、ckeditor_aspnet_3.6.2
完全按照如下步骤来的,显示是正常的。为什么在后台cs文件里就是搞不出来.value?


Installation
Installing CKEditor is an easy task. Just follow these simple steps:

1、Download the latest version of the editor from our web site: http://ckeditor.com. You should have already completed this step, but be sure you have the very latest version. 

2、Extract (decompress) the downloaded file into the root of your web site. 

-------------------------------------------------------------------------

Integrating CKEditor for ASP.NET with Your Page 
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 bin folder of your application.

 4、unpacked CKEditor for ASP.NET installation package. You can also manually copy the DLL file to the bin folder of your application. 

5、Copy the unpacked editor files from the CKEditor 3.x installation package and paste them into the application directory of your website. 
Register the CKEditor for ASP.NET Control in your page: 
HTML code
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>


6、Insert a CKEditor instance into the page body: 
HTML code
<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.

------解决方案--------------------
那个传智播客中有一点教学视频,你找一下,上面有关于这个的具体用法,好像叫什么“不做只会拖控件的菜鸟”什么东东的吧,你看看里面有一段关于介绍这个的,讲的还是挺详细的,建议你看看
------解决方案--------------------
路径一定要正确。
看说明一下就白平了。

------解决方案--------------------
.Text应该是
------解决方案--------------------
FCKeditor我用过还是比较好用的就是ie9要改一句代码要不上传图片不能用
你是不是dll文件没引用 从工具箱直接拖得
------解决方案--------------------
探讨
引用:
路径一定要正确。
看说明一下就白平了。

哥,我的路径也是按照说明来弄的呀。
另外,11楼的大哥,我的ckeditor里有图片呢?用Text也可以么?

------解决方案--------------------
探讨
引用:
FCKeditor我用过还是比较好用的就是ie9要改一句代码要不上传图片不能用
你是不是dll文件没引用 从工具箱直接拖得

已经引用了的,引用了以后自动生成了一个bin文件夹,而且我也手动把dll文件复制进去试过。
然后在工具箱里再添加了,编辑器在调试的时候可以显示出来,就是不能.出value来,是不是这个东东根本就没有value这……

------解决方案--------------------
这个东西 我刚用过! 不是.value呀! fck编辑控件是.value; Cke控件取值是text..... 推荐你最好还是用fck吧, cke很不稳定。。。 用用你就知道啦,免得你后悔! 不会再问我
------解决方案--------------------
以前叫Fckeditor时是有Value属性的,现在的CKEditor是Text属性了