.
ToolbarButtons and ToolbarDropDownLists can be added to a FreeTextBox either programmatically, procedurally, or by inheriting from ToolbarButton or ToolbarDropDownList.
add a one or paragraph summary or description of what's discussed here; put yours after 'Summary:'
5/1/2013 3:59:52 PM - 95.97.46.106
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
add a one or paragraph summary or description of what's discussed here; put yours after 'Summary:'
5/1/2013 3:59:52 PM - 95.97.46.106
.
To define a custom ToolbarButtons, you must set the Title and ButtonImage properties as well as the ScriptBlock property. To access the FreeTextBox in which the button resides, use the syntax "this.ftb.MethodName"
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
<FTB:FreeTextBox id="FreeTextBox1" AutoGenerateToolbarsFromString="false" runat="server" >
.
<FTB:ToolbarButton Title="Insert Some Text" ScriptBlock="this.ftb.InsertHtml(ftbName,'FreeTextBox is great!!');"
.
</FTB:FreeTextBox>
.
.
.
Inside your Page_Load function, you can add ToolbarButtons to a FreeTextBox control's Toolbars collection property.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
myButton.ScriptBlock = @"this.ftb.InserHtml(""FreeTextBox is great!!"");";
.
FreeTextBox1.Toolbars.Add(toolbar1);
.
<FTB:FreeTextBox id="FreeTextBox1" AutoGenerateToolbarsFromString="false" runat="server" />
.
using FreeTextBoxControls;
.
ScriptBlock = @"this.ftb.InserHtml(""FreeTextBox is great!!"");";
.
<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
.
<FTB:FreeTextBox id="FreeTextBox1" AutoGenerateToolbarsFromString="false" runat="server" >
.
</FTB:FreeTextBox>
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
This page was automatically generated when this topic (FreeTextBox) was renamed to FreeTextBoxa on 11/17/2004 at 8:12 PM by 202.72.148.102.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
FreeTextBox is ASP.NET HTML editor for web applications. It works with IE 5, 5.5, and 6.0 for PCs and Mozilla 1.3 or greater for PC, Mac, and Linux. This includes Netscape 7 and greater. It does not include IE for Mac, Safari or any version of Opera.asdfasdf
6/2/2015 11:46:25 AM - 39.47.140.161
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
add a one or paragraph summary or description of what's discussed here; put yours after 'Summary:'
6/5/2011 11:06:49 AM - 213.140.9.230
.
Click to read this topic6/5/2011 11:06:46 AM - -81.214.130.119
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
In JavaScript you can find FreeTextBox control using the following syntax
Click to read this topic6/5/2011 11:06:46 AM - -81.214.130.119
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
ftb = FTB_API['FreeTextBox1']
.
In this example 'FreeTextBox1' is the ClientID of the FreeTextBox. The Client ID is generated by the .NET framework and can be accessed by getting ClientID.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
Click to read this topic6/5/2011 11:06:46 AM - -81.214.130.119
.
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
The ImageGallery allows images to be uploaded and used in FreeTextBox.
9/16/2013 11:24:40 AM - 65.51.79.98
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
The ImageGallery control resides on the page ftb.imagegallery.aspx. The control is not designed to function in concert with other controls as it attempts to resize itself to take up the entire browser window. There are a few important settings on the originating FreeTextBox control.
The ImageGallery allows images to be uploaded and used in FreeTextBox.
9/16/2013 11:24:40 AM - 65.51.79.98
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
.
- ImageGalleryUrl = this is the URL to the page where the ImageGallery control resides. This does not need to be changed unless you want to store ftb.imagegallery.aspx in a location other than the same folder in which the originating FreeTextBox page resides
The ImageGallery allows images to be uploaded and used in FreeTextBox.
9/16/2013 11:24:40 AM - 65.51.79.98
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
This page was automatically generated when this topic (Installation !) was renamed to Installation on 1/24/2005 at 8:57 AM by john@freetextbox.com.
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
Installing the FreeTextBox support files
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
FreeTextBox uses JavaScript, images, and xml files. To correctly install FreeTextBox, you must install these files. FreeTextBox has two ways of accessing these files:
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
Click to read this topic6/5/2011 11:06:46 AM - -81.214.130.119
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
.
.
- 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/".
a property of FreeTextBox that tells FreeTextBox where to find its supporting JavaScript, image, and XML files.
6/5/2011 11:06:50 AM - -127.0.0.1
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
- 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:
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
<add verb="GET" path="FtbWebResource.axd" type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
.
Adding FreeTextBox to a ASP.NET aspx page or ascx control
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
To add FreeTextBox to an ASP.NET page, do the following:
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
.
<FTB:FreeTextBox id="FreeTextBox1" runat="Server" />
.
Using FreeTextBox in a Visual Studio.NET project
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
.
.
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
Languages.xml contains lists all the language resources natively supported by FreeTextBox. To use a langauge, set the Language property of FreeTextBox to the desired local (ex. hu-HU for Hungarian).
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
1 - FreeTextBox first loads English (en-US) from an internal resource to populate all the needed values. This file contains all values used by FreeTextBox.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
2 - FreeTextBox will then look for a physical language file correspoding with the selected language. For example, if Language="es-ES", FreeTextBox will look for "[SupportFolder]/Languages/es-ES.xml".
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
2.1 - If there is no physical file, FreeTextBox will then look for an internal resource by the same name.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
3 - If there is a valid language file in (2) or (2.1) then FreeTextBox will load all available values in place of the default en-US values. If a If a value is missing, the original (1) internal English value will be used.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
Summary : A List of JavaScript functions developers can use to program against FreeTextBox
Click to read this topic6/5/2011 11:06:46 AM - -81.214.130.119
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
Click to read this topic6/5/2011 11:06:46 AM - -81.214.130.119
.
FTB_API['FreeTextBox1'].InsertHtml("blah <i>blah</i>");
.
FTB_API['FreeTextBox1'].SurroundHtml("<i>before</i>","<u>after</u>");
.
FTB_API['FreeTextBox1'].GetHtml();
.
FTB_API['FreeTextBox1'].SetHtml("some new HTML with a table: <table><tr><td>(0, 0)</td><td>(0, 1)</td></tr><tr><td>(1, 0)</td><td>(1, 1)</td></tr></table>");
.
FTB_API['FreeTextBox1'].GetHtml('bold','','');
.
FTB_API['FreeTextBox1'].GetHtml('forecolor','','#ffcc00');
.
FTB_API['FreeTextBox1'].GetHtml('forecolor');
.
FTB_API['FreeTextBox1'].Focus();
.
FTB_API['FreeTextBox1'].SetStyle(className);
.
FTB_API['FreeTextBox1'].clientSideTextChanged = myFunction;
.
// do something with FreeTextBox
.
Click to read this topic6/5/2011 11:06:49 AM - 64.202.160.65
.
This page was automatically generated when this topic (Major_FreeTextBox_JavaScript_Functions) was renamed to MajorFreeTextBoxJavaScriptFunctions on 11/18/2004 at 3:13 AM by -68.94.227.128.
Click to read this topic6/5/2011 11:06:49 AM - 64.202.160.65
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
Click to read this topic6/5/2011 11:06:46 AM - -81.214.130.119
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
Click to read this topic6/5/2011 11:06:46 AM - -81.214.130.119
.
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
add a one or paragraph summary or description of what's discussed here; put yours after 'Summary:'
5/1/2013 3:59:52 PM - 95.97.46.106
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
There are three ways to configure the FreeTextBox toolbar area
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
<FTB:FreeTextBox id="FreeTextBox1"
.
The following values are only available in Pro versions of FreeTextBox (or if running on localhost)
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
<FTB:FreeTextBox id="FreeTextBox1" AutoGenerateToolbarsFromString="false" runat="server" >
.
</FTB:FreeTextBox>
.
FreeTextBox1.Toolbars.Add(toolbar1);
.
FreeTextBox1.Toolbars.Add(toolbar2);
.
FreeTextBox1.Toolbars.Add(toolbar3);
.
<FTB:FreeTextBox id="FreeTextBox1" AutoGenerateToolbarsFromString="false" runat="server" />
.
add a one or paragraph summary or description of what's discussed here; put yours after 'Summary:'
6/5/2011 11:06:59 AM - -193.170.68.244
add a one or paragraph summary or description of what's discussed here; put yours after 'Summary:'
6/5/2011 11:06:59 AM - -193.170.68.244
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
Click to read this topic7/13/2024 12:29:35 PM - 97.71.181.26
.
Click to read this topic6/5/2011 11:06:21 AM - john@freetextbox.com
.
Click to read this topic6/5/2011 11:06:21 AM - john@freetextbox.com