自定义文本编辑器控件FredCK.FCKeditorV2的使用 10:17:08 2008年12月4日
1.在项目bin添加对FredCK.FCKeditorV2.dll的引用。//首先要引用哦

2.在页面中使用FCKeditor控件

(1)首先将控件资源文件夹editor文件夹引用到项目中。 //就是BasePath="../fckeditor/中的fckeditor,其作用是编辑文本等之用;

(2)然后就可以在页面声明并使用控件了,代码如下:
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %> //首先在页的头部声明控件命名空间








<FCKeditorV2:FCKeditor ID="Content" Width="98%" Height="300" runat="server" BasePath="../fckeditor/">
</FCKeditorV2:FCKeditor> //使用控件,BasePath="为控件资源文件夹editor在项目中的相对路径"
</FCKeditorV2:FCKeditor> //使用控件,BasePath="为控件资源文件夹editor在项目中的相对路径"








