1.直接使用的方法:
(1) 复制 bin 目录下的 FreeTextBox.dll 文件到你的 Web 应用程序目录中的 bin 目录或其上层的虚拟目录下的 bin 目录;
(2) 复制 HelperScripts 目录下的三个文件到你的 Web 应用程序目录中或其子目录中,注意使用时要指定 HelperFilePath 属性;
(3) 复制 images 目录下的 ftb 目录到你的 Web 站点根目录下的 images 目录中。
默认的目录结构如下:
+ Web 根目录
+ bin 目录
- FreeTextBox.dll
+ images 目录
+ ftb 目录
+ 你的应用程序(虚拟目录)
+ bin 目录
- FreeTextBox.dll
+ images 目录(这个是你的“图片库”目录,上传的图片都在此)
- ftb.colorpicker.aspx
- ftb.imagegallery.aspx
- ftb.inserttable.aspx
- test.aspx (测试)
(注:+ 表示目录,- 表示文件;上面 FreeTextBox.dll 只需要复制一个就行了;)
2.工具栏(ToolbarLayout)的设置
ToolbarLayout="Bold,Italic,Underline,SubScript,SuperScript,NumberedList,Indent,Outdent,Copy,Paste,Cut,Delete,InsertTable;JustifyCenter,JustifyLeft,JustifyRight,JustifyFull;FontFacesMenu;FontSizesMenu;FontForeColorsMenu"
工具栏的各种Button......
(1) 复制 bin 目录下的 FreeTextBox.dll 文件到你的 Web 应用程序目录中的 bin 目录或其上层的虚拟目录下的 bin 目录;
(2) 复制 HelperScripts 目录下的三个文件到你的 Web 应用程序目录中或其子目录中,注意使用时要指定 HelperFilePath 属性;
(3) 复制 images 目录下的 ftb 目录到你的 Web 站点根目录下的 images 目录中。
默认的目录结构如下:
+ Web 根目录
+ bin 目录
- FreeTextBox.dll
+ images 目录
+ ftb 目录
+ 你的应用程序(虚拟目录)
+ bin 目录
- FreeTextBox.dll
+ images 目录(这个是你的“图片库”目录,上传的图片都在此)
- ftb.colorpicker.aspx
- ftb.imagegallery.aspx
- ftb.inserttable.aspx
- test.aspx (测试)
(注:+ 表示目录,- 表示文件;上面 FreeTextBox.dll 只需要复制一个就行了;)
2.工具栏(ToolbarLayout)的设置
ToolbarLayout="Bold,Italic,Underline,SubScript,SuperScript,NumberedList,Indent,Outdent,Copy,Paste,Cut,Delete,InsertTable;JustifyCenter,JustifyLeft,JustifyRight,JustifyFull;FontFacesMenu;FontSizesMenu;FontForeColorsMenu"
工具栏的各种Button......
Buttons | Free | Pro | |
Basic Insert Link | yes | yes | |
Rich Insert Link | yes | ||
Bold | ![]() |
yes | yes |
Bulleted List | ![]() |
yes | yes |
Copy | ![]() |
yes | yes |
Create Link | ![]() |
yes | yes |
Cut | ![]() |
yes | yes |
Delete | ![]() |
yes | yes |
Delete Table Column | ![]() |
yes | |
Delete Table Row | ![]() |
yes | |
Edit Style | ![]() |
yes | |
Edit Table | ![]() |
yes | |
Font Back Color Picker | ![]() |
yes | |
Font Fore Color Picker | ![]() |
yes | |
IE SpellCheck | ![]() |
yes | yes |
Indent | ![]() |
yes | yes |
Insert Button | ![]() |
yes | |
Insert CheckBox | ![]() |
yes | |
Insert Date | ![]() |
yes | yes |
Insert Div | ![]() |
yes | |
Insert DropDownList | ![]() |
yes | |
Insert Form | ![]() |
yes | |
Insert Image | ![]() |
yes | yes |
Insert Image From Gallery | ![]() |
yes | yes |
Insert RadioButton | ![]() |
yes | |
Insert Rule | ![]() |
yes | yes |
Insert Table | ![]() |
yes | yes |
Insert Table Column After | ![]() |
yes | |
Insert Table Column Before | ![]() |
yes | |
Insert Table Row After | ![]() |
yes | |
Insert Table Row Before | ![]() |
yes | |
Insert TextArea | ![]() |
yes | |
Insert TextBox | ![]() |
yes | |
Insert Time | ![]() |
yes | yes |
Italic | ![]() |
yes | yes |
Justify Center | ![]() |
yes | yes |
Justify Full | ![]() |
yes | yes |
Justify Left | ![]() |
yes | yes |
Justify Right | ![]() |
yes | yes |
NetSpell | ![]() |
yes | yes |
Numbered List | ![]() |
yes | yes |
Outdent | ![]() |
yes | yes |
Paste | ![]() |
yes | yes |
Preview | ![]() |
yes | yes |
![]() |
yes | yes | |
Redo | ![]() |
yes | yes |
Remove All Formatting | ![]() |
yes | yes |
Save | ![]() |
yes | yes |
Select All | ![]() |
yes | yes |
StrikeThrough | ![]() |
yes | yes |
SubScript | ![]() |
yes | yes |
SuperScript | ![]() |
yes | yes |
Underline | ![]() |
yes | yes |
Undo | ![]() |
yes | yes |
Unlink | ![]() |
yes | yes |
Word Clean | ![]() |
yes |
DropDownLists | Free | Pro | |
Font ForeColors Menu | yes | yes | |
Font Faces Menu | yes | yes | |
Font BackColors Menu | yes | yes | |
InsertHtml Menu | yes | yes | |
Paragraph Menu | yes | yes | |
Font Sizes Menu | yes | yes | |
Styles Menu | yes | yes | |
Symbols Menu | yes | yes |