FreeTextBox

The no. 1 free ASP.NET HTML Editor.
Welcome to FreeTextBox Sign in | Join | Help
in Search

Background images and colors don't appear.

Last post 10-07-2008, 11:03 AM by KenPalmer. 1 replies.
Sort Posts: Previous Next
  •  10-06-2008, 11:49 AM 9501

    Background images and colors don't appear.

    The background images and colors for FTB do not appear on my web page.  I'm working in an ASP.Net project in VS 2008. Below is what my code looks like.

    The FreeTextBox.dll is in my project's bin directory.  My understanding is that all images are pulled from the dll when using Framework 2.0.  I'm using FTB version 3.1.6.

    The menu successfully displays the various icon images, like the undo or bullet buttons, but it doesn't render the blue background image. Also, if you hover over an icon the orange background within the black border appears.  It's just not displaying the default backgrounds.

    Is there some property that I need to set in the control?  Thanks.

    Ken

    <table width="100%">

    <tr>

    <td><FTB:FREETEXTBOX id="txtDocument" EnableHtmlMode="False" Width="100%" runat="server" AllowHtmlMode="True"

    StripAllScripting="True" Height="400px" FormatHtmlTagsToXhtml="False"

    AutoGenerateToolbarsFromString="true"

    ToolbarLayout="ParagraphMenu, FontFacesMenu, FontSizesMenu, Bold, Italic, Underline,

    JustifyLeft, JustifyRight, JustifyCenter, JustifyFull, BulletedList,

    NumberedList, Indent, Outdent, Cut, Copy, Paste, Delete, Undo, Redo"

    >

    </FTB:FREETEXTBOX>

    </td>

    </tr>

    </table>

  •  10-07-2008, 11:03 AM 9503 in reply to 9501

    Re: Background images and colors don't appear.

    The background style of the td tags were impacted by another stylesheet.  On my site the FTB control runs in a web user control that has a TD background color set by another stylesheet. An expedient workaround was to set the TD background color to transparent just before rendering the FTB control, as follows:

    <table width="100%">

    <tr>

    <td><style type="text/css" media="all">

    td {background-color:Transparent;}

    </style>

    <FTB:FREETEXTBOX id="txtDocument" EnableHtmlMode="False" Width="100%" runat="server" AllowHtmlMode="True"

    StripAllScripting="True" Height="400px" FormatHtmlTagsToXhtml="False"

    AutoGenerateToolbarsFromString="true"

    ToolbarLayout="ParagraphMenu, FontFacesMenu, FontSizesMenu, FontForeColorsMenu, FontForeColorPicker| Bold, Italic, Underline, Strikethrough; Superscript, Subscript, RemoveFormat| JustifyLeft, JustifyRight, JustifyCenter, JustifyFull; BulletedList, NumberedList, Indent, Outdent; CreateLink, Unlink, InsertImage, InsertRule| Cut, Copy, Paste; Undo, Redo, Print"

    >

    </FTB:FREETEXTBOX>

    </td>

    </tr>

    </table>

View as RSS news feed in XML
www.freetextbox.com