Class wwWebFckEditor

The wwWebFckEditor control a thin wrapper around the popular FCK Editor control. The control provides rich text editing for Internet Explorer and Mozilla style browsers and includes many advanced features for text and image management.

The key properties of the control are the Text property which is used to set and retrieve the value of the editor and the EditorBasePath which controls where the FCK Library is found.

The control works pretty much like a TextBox control so you can use the Text property to set and read its value and use ControlSource databinding to bind values to it.

The Web Connection control wrapper provides only basic setup features to get the control onto a page easily. If you need to highly customize the operation of the control you will have to use FCK Editor's own configuration APIs and options to do so.

html
html
<ww:wwWebFckEditor runat="server" id="txtMessageFck" Width="95%" Height="400px" Visible="false" EditorBasePath="~/fckEditor/" FontNames="Verdana;Tahoma;Arial;Comic Sans MS;Arial Black;Courier New,Monospace;" Theme="office2003" ControlSource="this.Page.oMessage.Message" ErrorMessageLocation="2" ClientOnLoad="FckLoaded" />

Class Members

MemberDescription
ClientOnLoad Optional client side event fired at the end of configuration but before the editor has loaded Allows overriding and configuring any of FCKs options in the source page. Using this mechanism gives you…
CustomConfigurationPath Path to a .js file that has overrides for FCK configuration settings. This allows you to define a custom .js file that can override any of the default FCK settings without touching the FCK…
EditorAreaCss The CSS that is used in the body of the editor.
EditorBasePath The base path where the FCK Editor library and support files are found. This is a virtual path to the FCK Editor installation. By default this points at ~/fckEditor which is a folder underneath your…
FontFormats Semi-colon delimited list of high level format styles (h1;h2;pre etc.). Note this list is limited to standard HTML formats and cannot include styles
FontNames Semi-colon delimited list of fonts displayed in the fonts dialog. Example: Verdana;Tahoma;Arial;Times Roman;Courier New;Monospace
FontSizes Semi-colon delimited list of font-sizes displayed in hte size dialog
StylesXmlPath Path to an XML file that contains styles displayed in the style dialog. See FCK editor documentation and look at the default fckStyles.xml to see how you can add custom style selections.
Text The text property sets and returns the value for the Editor control.
Theme The theme used: default - office2003 - silver
ToolbarSet The toolbar layout to display: Default - Basic FCK Editor ships with the above ToolbarSets, but you can customize these by overridding settings in the configuration files. One way to override…

Assembly: webcontrolsextended.prg


See also

Installing and Deploying FCK Editor
Configuring FCK Editor
Using the wwWebFckEditor Control
Class wwWebHtmlEditor

© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic