Client-Side Properties
The available client-side properties are listed in the following table:
Property |
Client-Side Equivalent Methods |
Description |
accessKey |
get_accessKey(), |
Gets or sets the access key that allows you to quickly navigate to the WebEditor. |
clientObjectID |
get_clientObjectID(),
|
Gets ID of the client-side object associated with the control. |
editorMode |
get_editorMode(), |
Editor mode (WYSIWYG=0/Code=1/Split=2). Value for this property can be specified by string or Int value. |
fullScreenMode |
get_fullScreenMode(),
|
Set this property to true if you want to switch the editor to Full Screen mode. All client area of the page will be covered by the WebEditor. |
fullScreenModeContainerId |
get_fullScreenModeContainerId(), |
Full Screen mode container ID. Use this property to specify container which will be used as the parent control for Full Screen mode instead of client's area on the Web page. |
PreventBaseAbsoluteUrls |
get_PreventBaseAbsoluteUrls |
Prevents converting relative URLs to absolute URLs. The default vaule of this property. |
showSpellCheckerDialog |
get_showSpellCheckerDialog(),
|
Indicates whether to show SpellChecker dialog or just allow a user to select suggestions from the context menu. |
showTableBorders |
get_showTableBorders(),
|
Show table borders in WYSIWYG mode. |
text |
get_text(), set_text(value) |
Gets or sets WebEditor text. |
wordWrap |
get_wordWrap(), |
Indicates whether to use word wrap in source editing mode. |
Example
The following example sets the editing mode of the C1WebEditor to Source view ("Code"):
public EditorModeEnum EditorMode
var prevEditorMode = aC1WebEditorObj.get_editorMode();
aC1WebEditorObj.set_editorMode("Code");
|