Freetextbox (version 3.1.6) using methods in asp.net 2.0-practical tips

Source: Internet
Author: User
1. Download the latest version of Freetextbox (version 3.1.6), decompression
Freetextbox 3.1.6 (2007/10/17)
Author website Download Address: http://freetextbox.com/download/
What improvements and modifications are available in the detailed version history can be seen 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 the tag path of the entire document
* Bug:bug in FF vs. IE DOM handling of extra \ n tag

Free version of the fee version of the difference can be seen here: http://freetextbox.com/features/

2. Open the ASP.NET2.0 project and add a reference. (If you have added previous versions of Freetextbox, delete previous versions of references)
2.1. Copy ftb.imagegallery.aspx to the directory you want to use Freetextbox (of course it can be something else, but you may want to set the path)
3. Add Freetextbox to the toolbar. (Toolbar general selection) Browse to DLL file, add)
4. You can drag the controls on the toolbar to your page.
Copy Code code as follows:

<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. Modify the Imagegallerypath property for your picture's placement directory.
5. Q&a
5.1. Q: How can not create a new directory, upload files and so on?
A: Modify the Ftb.imagegallery.aspx page can be done
Copy Code code as follows:

<ftb:imagegallery id= "ImageGallery1"
Supportfolder= "~/aspnet_client/freetextbox/"
Allowimagedelete= "true" allowimageupload= "true"
Allowdirectorycreate= "true" allowdirectorydelete= "true" runat= "Server"/>

Modifying properties such as Allowimagedelete
5.2. Q: How do you not see the "Insert Picture from Picture Gallery" icon?
A: Modify the Toolbarlayout property, add a insertimagefromgallery, the above code example is already added good.
5.3. Q: How is the button the English hint?
A: There is a property called language, the default of en-US renamed ZH-CN Bar, is the Chinese simplified, I heard that this version with 25 languages.
asp.net Web editor freetextbox 3.2.2 Simplified Chinese version of the sample source code
Http://www.jb51.net/codes/22580.html
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.