Hide Changes Hide Changes
Edit Edit
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Search

History

6/4/2018 5:18:45 AM
103.212.146.117
12/4/2014 10:38:41 PM
120.63.216.155
10/29/2014 5:21:13 AM
89.207.110.186
7/2/2014 5:38:05 AM
220.227.71.84
11/21/2013 9:58:34 AM
209.239.185.194
List all versions List all versions
Installation
.
Summary How to install FreeTextBox

Installing the FreeTextBox support files

FreeTextBox uses JavaScript, images, and xml files. To correctly install FreeTextBox, you must install these files. FreeTextBox has two ways of accessing these files:

  • External Files - Before FreeTextBox 3.0, all images, javascript and xml were stored as external files. By default, FreeTextBox looks in /aspnet_client/FreeTextBox/ for these files. If you want to store the files in a different location, you need:
    • To tell FreeTextBox which kind of files to look for external resources: JavaScriptLocation=ExternalFile, ToolbarImages=ExternalFile, ButtonImagesLocation=ExternalFile
    • To set the SupportFolder property of your FreeTextBox instance to the directory where you copied the files. For example, if you stored the FreeTextBox support files at www.mysite.com/FreeTextBoxFiles/, you should set SupportFolder="/FreeTextBoxFiles/".
  • Internal Resources - As of FreeTextBox 3.0 all the images, javascript and xml is stored inside the FreeTextBox.dll. In ASP.NET 2.0 these files are automatically pulled from the FreeTextBox.dll. In ASP.NET 1.x, you need to add the following httpHandler to web.config:
  <?xml version="1.0" encoding="utf-8" ?>
  <configuration>
   <system.web>
    <httpHandlers>
     <add verb="GET" path="FtbWebResource.axd" type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
    </httpHandlers>
   <system.web>
 <configuration>

Adding FreeTextBox to a ASP.NET aspx page or ascx control

FreeTextBox uses JavaScript, images, and xml files. To correctly install FreeTextBox, you must install these files. FreeTextBox has two ways of accessing these files

To add FreeTextBox to an ASP.NET page, do the following:

  • Add the following line to the top of your page:
 <%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
  • Add the following code between <form runat="server"> tags:
 <FTB:FreeTextBox id="FreeTextBox1" runat="Server" />
  1. External Files - Before FreeTextBox 3.0, all images, javascript and xml were stored as external files. By default, FreeTextBox looks in /aspnet_client/FreeTextBox/ for these files. If you want to store the files in a different location, you need to set the SupportFolder property of your FreeTextBox instance. For example, if your website is stored at www.mysite.com/FreeTextBoxFiles/, you should set SupportFolder="/FreeTextBoxFiles/".

Using FreeTextBox in a Visual Studio.NET project

        2. '''Internal Resources''' - As of FreeTextBox 3.0 all the images, javascript and xml is stored inside the FreeTextBox.dll. In ASP.NET 2.0 these files are automatically pulled from the FreeTextBox.dll. In ASP.NET 1.x, you need to add the following httpHandler to web.config.
  <?xml version="1.0" encoding="utf-8" ?>
  <configuration>
   <system.web>
    <httpHandlers>
     <add verb="GET" path="FtbWebResource.axd" type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
    </httpHandlers>
   <system.web>
 <configuration>
Welcome to FreeTextBoxWiki

If you're new to FreeTextBox, read the Installation.