TFCKEditor wraps the visual editting functionalities provided by the FCKEditor project http://www.fckeditor.net/.
TFCKEditor displays a WYSIWYG text area on the Web page for user input in the HTML format. The text displayed in the TFCKEditor component is specified or determined by using the Text property.
To enable the visual editting on the client side, set the property EnableVisualEdit to true (which is default value). To set the size of the editor when the visual editting is enabled, set the Width and Height properties instead of Columns and Rows because the latter has no meaning under the situation.
To prevent the text displayed in the component from being modified, set the ReadOnly property to true. (If EnableVisualEdit is set to true, the user will still be able to modify the text on the client side, however the server side text will not be changed. Future version of this component may correct this inconsistency.)
Note, Text is not HTML encoded before it is displayed in the THtmlArea component. If the values for the component come from user input, be sure to validate the values to help prevent security vulnerabilities.
Namespace: System.Web.UI.WebControls
Properties
BasePath, string, default=http://yourhost/js/fckeditor/, kept in viewstate
The URL to js/fckeditor/.
EnableVisualEdit, boolean, default=true, kept in viewstate
Gets or sets whether WYSIWYG editting capability should be enabled.
Toolbar, string, default=Default, kept in viewstate
The FCKEditor toolbar to use (Default or Basic).
Skin, string, default=Default, kept in viewstate
The FCKEditor skin to use (Default, Office2003 or Silver).
Compatibility
The client-side visual editting capability is supported by
Internet Explorer 5.5+ for Windows, Mozilla 1.3+, Mozilla Firefox, Netscape 7.1+ and any other Gecko-based browser. If the browser does not support the visual editting, a traditional textarea will be displayed.