文本编辑框,类似于csdn使用的fckedit。具有广泛的用途。下面介绍其中之一FreeTextBox:
下载FreeTextBox:
http://freetextbox.com/files/6949/download.aspx
下载完解压。
我使用的是Framework-2.0中的FreeTextBox.dll。这个比1.0的要容易上手点,不需要配置太多。
将这个文件夹复制到项目文件的bin目录下。然后添加引用。
同时可以复制aspnet_client文件夹及内容进入你的项目文件夹中。我是直接放在根目录下的。这个的用处就是传输图形图像的使用。可以创建,删除文件夹和文件的。没有这个,你使用图像麻烦。
此时你可以参考它自带的英文说明(readme.txt):照做即可。
1 Installation of dll
2 Installing the FreeTextBox support files
上面2步,参考上面的讲解。
3 Using FreeTextBox
将下面的内容加入aspx文件的顶部:
<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
加入下面的代码在