Summary: For use with FreeTextBox (version 3.1.6) in ASP.Net 2.0, only 2 files are required: FreeTextBox.DLL and ftb.imagegallery.aspx
1. Download the latest version of FreeTextBox (version 3.1.6) and unzip it
FreeTextBox 3.1.6 (2006/07/18) Download address: http://freetextbox.com/download/
The detailed version improvements and modification history can be found here: http://freetextbox.com/download/changelog.aspx
FreeTextBox 3.1.6 (2006/07/18)
* BUG: Firefox postback problems (due to IE specific code)
* CHANGE: createlink now requires text to be selected
* BUG: FontSizesMenuList now functions correctly
* BUG: IE users would see the tag path of the entire document
* BUG: WordClean fix for <b> tags
* BUG: bug in FF vs. IE DOM handling of extra n tag
The difference between the Free version and the paid version can be found here: http://freetextbox.com/features/
2. Open the ASP.Net2.0 project and add a reference. (If you have added a previous version of FreeTextBox, delete the reference to the previous version first)
2.1. Copy ftb.imagegallery.aspx to the directory where you want to use FreeTextBox (of course it can be other, but you may need to set the path)
3. Add FreeTextBox to toolbar. (Toolbar>General>Selection>Browse to DLL file, add)
4. You can now drag controls from the toolbar into your page
<FTB:FreeTextBox ID="Free1" ImageGalleryPath="~/ImageAdmin"
runat="server" Text='<%# Bind("Contents") %>'
ButtonDownImage="True"
ToolbarLayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu|Bold,Italic,Underline,Strikethrough;Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertImage FromGallery,InsertRule |Cut,Copy,Paste;Undo,Redo,Print">
</FTB:FreeTextBox>
4.1. Modify the ImageGalleryPath property to the directory where your images are placed.
5. Q&A
5.1. Q: Why can’t I create a new directory, upload files, etc.?
A: This can be done by modifying the ftb.imagegallery.aspx page
<FTB:ImageGallery id="ImageGallery1"
SupportFolder="~/aspnet_client/FreeTextBox/"
AllowImageDelete="true" AllowImageUpload="true"
AllowDirectoryCreate="true" AllowDirectoryDelete="true" runat="Server" />
Modify properties such as AllowImageDelete
5.2. Q: Why don’t I see the “Insert Picture from Picture Library” icon?
A: Modify the ToolbarLayout attribute of <FTB:FreeTextBox /> and add an InsertImageFromGallery. The above code example has been added.
5.3. Q: Why is the button prompt in English?
A: <FTB:FreeTextBox /> has an attribute called Language. Change the default en-US to zh-CN, which is simplified Chinese. I heard that this version comes with 25 languages.
http://www.cnblogs.com/cleo/archive/2007/01/16/freetextbox3_1_6.html