-
Steveo
-
-
-
Joined on 01-25-2010
-
-
Posts 1
-
-
|
FreeTextBox's display as normal multiline text boxes.
Hi,
I've downloaded version 3.0.5 (I have a current project started by someone else which uses this), copied the FreeTextBox.dll into a Dlls folder in my web project (ASP.NET, .NET 3.5 - I have same problem when aiming at .NET 2.0 also).
A reference to the dll has been added to the project,
<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
has been inserted onto my page and I've got 3-4 free text box controls on it currently (didn't work with one, been trying to get it to work with different options).
<FTB:FreeTextBox id="FreeTextBox1" runat="Server" AutoConfigure="true" />
<asp:PlaceHolder runat="server" id="PlaceHoldertest"/>
< FTB:FreeTextBox runat="server" ID="ftbBody" ToolbarLayout="ParagraphMenu, FontFacesMenu,
FontSizesMenu, FontForeColorsMenu, FontForeColorPicker, FontBackColorsMenu, |
FontBackColorPicker, Bold, Italic, Underline, Strikethrough, Superscript,
Subscript, InsertImageFromGallery, RemoveFormat, JustifyLeft, JustifyRight,
JustifyCenter, JustifyFull, BulletedList, | NumberedList, Indent, Outdent, Cut,
Copy, Paste, Delete, Undo, Redo, Print, Save, | ieSpellCheck, StyleMenu,
SymbolsMenu, InsertHtmlMenu, InsertRule, | InsertDate, InsertTime, WordClean,
InsertImage, InsertTable, Preview, SelectAll, EditStyle" Width="400px" FormatHtmlTagsToXhtml="true"
/>
< FTB:FREETEXTBOX id="FreeTextBox2" runat="Server" ToolbarLayout=" 				FontFacesMenu, FontSizesMenu, Bold, Italic, Underline,| 				Strikethrough, Superscript, RemoveFormat, JustifyLeft, JustifyRight, JustifyCenter, JustifyFull, BulletedList, NumberedList, Indent, Outdent,| 				Cut, Copy, Paste, Delete, Undo, Redo, ieSpellCheck, Preview, SelectAll"></FTB:FREETEXTBOX>
The Placeholder is having one added programmatically and it's still not working:
FreeTextBoxControls. FreeTextBox box = new FreeTextBoxControls.FreeTextBox();
box.EnableHtmlMode = true;
box.EnableToolbars = true;
box.Focus = true;
Toolbar toolbar2 = new Toolbar();
toolbar2.Items.Add( new Bold());
toolbar2.Items.Add( new Italic());
toolbar2.Items.Add( new Underline());
toolbar2.Items.Add( new ToolbarSeparator());
toolbar2.Items.Add( new FreeTextBoxControls.BulletedList());
toolbar2.Items.Add( new NumberedList());
box.Toolbars.Add(toolbar2);
PlaceHoldertest.Controls.Add(box);
Any help would be greatly appreciated.
|
|