小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

最新版FreeTextBox(版本3.1.6)在ASP.Net 2.0中使用簡解(提供博客...

 悟靜 2012-04-30
簡介:對于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
   作者網(wǎng)站下載地址:http:///download/
   詳細(xì)版本有哪些改進(jìn)和修改歷史可以看這里:http:///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:///features/

2。打開ASP.Net2.0項目,添加引用。(如果添加過以前版本的FreeTextBox,先刪除以前版本的引用)
2.1。拷貝ftb.imagegallery.aspx到你要使用FreeTextBox的目錄(當(dāng)然可以是其他,但是可能要設(shè)置路徑)
3。將FreeTextBox添加到工具欄。(工具欄〉常規(guī)〉選擇項〉瀏覽到DLL文件,添加)
4??梢詫⒐ぞ邫谏系目丶先氲侥愕捻撁媪?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:怎么沒有看到“從圖片庫插入圖片”這個圖標(biāo)?
     A:修改<FTB:FreeTextBox />的ToolbarLayout屬性,添加一個InsertImageFromGallery,上面代碼的例子就是已經(jīng)添加好的。
5.3。Q:按鈕怎么是英文提示?
     A:<FTB:FreeTextBox />有個屬性叫做Language,把默認(rèn)的en-US改稱zh-CN吧,就是中文簡體了,聽說這個版本帶了25種語言呢。

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

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多