| 簡介:對(duì)于FreeTextBox(版本3.1.6)在ASP.Net 2.0中使用,只需要2個(gè)文檔:FreeTextBox.DLL和ftb.imagegallery.aspx 1。下載最新版FreeTextBox(版本3.1.6),解壓 ?? FreeTextBox 3.1.6 (2006/07/18) 下載地址:http://freetextbox.com/download/ ?? 周詳版本有哪些改進(jìn)和修改歷史能夠看這里: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 ?? Free版本的收費(fèi)版本的區(qū)別能夠看這里:http://freetextbox.com/features/ 2。打開ASP.Net2.0項(xiàng)目,添加引用。(假如添加過以前版本的FreeTextBox,先刪除以前版本的引用) 2.1。拷貝ftb.imagegallery.aspx到您要使用FreeTextBox的目錄(當(dāng)然能夠是其他,但是可能要配置路徑) 3。將FreeTextBox添加到工具欄。(工具欄〉常規(guī)〉選擇項(xiàng)〉瀏覽到DLL文檔,添加) 4。能夠?qū)⒐ぞ邫谏系目丶先氲侥捻撁媪?br /> ??? <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,InsertImageFromGallery,InsertRule|Cut,Copy,Paste;Undo,Redo,Print"> ??????? </FTB:FreeTextBox> 4.1。修改ImageGalleryPath屬性為您圖片的放置目錄。 5。Q&A 5.1。Q:怎么不能新建目錄,上傳文檔等? ???? A:修改ftb.imagegallery.aspx頁面能夠做到 ?????????? <FTB:ImageGallery id="ImageGallery1" ??????????? SupportFolder="~/aspnet_client/FreeTextBox/" ??????????? AllowImageDelete="true" AllowImageUpload="true" ???????????? AllowDirectoryCreate="true" AllowDirectoryDelete="true" runat="Server" /> ??????? 修改AllowImageDelete等屬性 5.2。Q:怎么沒有看到“從圖片庫插入圖片”這個(gè)圖標(biāo)? ???? A:修改<FTB:FreeTextBox />的ToolbarLayout屬性,添加一個(gè)InsertImageFromGallery,上面代碼的例子就是已添加好的。 5.3。Q:按鈕怎么是英文提示? ???? A:<FTB:FreeTextBox />有個(gè)屬性叫做Language,把默認(rèn)的en-US改稱zh-CN吧,就是中文簡體了,聽說這個(gè)版本帶了25種語言呢。 http://www.cnblogs.com/cleo/archive/2007/01/16/freetextbox3_1_6.html |