FreeTextBox ASP.NET Install and Setup

1. Download

Download FreeTextBox from here

2. Copy files

Copy the files from the zip package into your website. By default, all the files go into /refresh_web/.

For ASP.NET, place the Refresh.Web.FreeTextBox.dll into the /bin/ folder.

3. Register FreeTextBox on your page.

At the top of your ASP.NET page, add the following code


<%@ Register Prefix="FTB" Namespace="Refresh.Web" Assembly="Refresh.Web.FreeTextBox" %>
		

4. Use FreeTextBox.

To start up FreeTextBox, use the following basic command:


<FTB:FreeTextBox id="MyFreeTextbox" runat="Server" />
		

5. Customize the editor.

Use the following properties of the FreeTextBox control to customize its appearance:


<FTB:FreeTextBox id="MyFreeTextbox" width="600px" Height="400px" 
	StyleSheetUrl="mysite.css" Theme="simple" runat="Server" />
		

6. Customize the toolbar.

To customize the toolbar configuration, use the Toolbar object collection


<FTB:FreeTextBox id="MyFreeTextbox" width="600px" Height="400px" 
	StyleSheetUrl="mysite.css" Theme="simple" runat="Server" >
	<Toolbar Title="Font">
		<FTB:ToolbarItem Name="Bold" />
		<FTB:ToolbarItem Name="Italic" />	
		<FTB:ToolbarItem Name="Underline" />
		<FTB:ToolbarItem Name="Strikethrough" />	
		<FTB:ToolbarItem Name="separator" />
		<FTB:ToolbarItem Name="Superscript" />	
		<FTB:ToolbarItem Name="Subscript" />
		<FTB:ToolbarItem Name="separator" />
		<FTB:ToolbarItem Name="FontForeColorPicker" />
		<FTB:ToolbarItem Name="FontBackColorPicker" />
	</Toolbar>
</FTB:FreeTextBox>