最新版FreeTextBox(版本3.1.6)在ASP.Net 2.0中使用簡解(提供部落格園本地下載)

來源:互聯網
上載者:User
簡介:對於FreeTextBox(版本3.1.6)在ASP.Net 2.0中使用,只需要2個檔案:FreeTextBox.DLL和ftb.imagegallery.aspx

1。下載最新版FreeTextBox(版本3.1.6),解壓
   FreeTextBox 3.1.6 (2006/07/18)
   部落格園本地下載: http://files.cnblogs.com/cleo/FTBv3-1-6.zip
   作者網站:http://freetextbox.com/download/
   詳細版本有哪些改進和修改曆史可以看這裡:http://freetextbox.com/download/changelog.aspxFreeTextBox 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版本的收費版本的區別可以看這裡:http://freetextbox.com/features/

2。開啟ASP.Net2.0項目,添加引用。(如果添加過以前版本的FreeTextBox,先刪除以前版本的引用)
2.1。拷貝ftb.imagegallery.aspx到你要使用FreeTextBox的目錄(當然可以是其他,但是可能要設定路徑)
3。將FreeTextBox添加到工具列。(工具列〉常規〉選擇項〉瀏覽到DLL檔案,添加)
4。可以將工具列上的控制項拖入到你的頁面了
   

<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:怎麼沒有看到“從圖片庫插入圖片”這個表徵圖?
     A:修改<FTB:FreeTextBox />的ToolbarLayout屬性,添加一個InsertImageFromGallery,上面代碼的例子就是已經添加好的。
5.3。Q:按鈕怎麼是英文提示?
     A:<FTB:FreeTextBox />有個屬性叫做Language,把預設的en-US改稱zh-CN吧,就是中文簡體了,聽說這個版本帶了25種語言呢。

新增部落格園本地下載: http://files.cnblogs.com/cleo/FTBv3-1-6.zip

原文地址:http://www.cnblogs.com/cleo/archive/2007/01/16/FreeTextBox3_1_6.html

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.