ComponentOne WebEditor for ASP.NET: Working with Client-Side Script > Client-Side Properties

Client-Side Properties

The available client-side properties are listed in the following table:

 

Property

Client-Side Equivalent Methods

Description

accessKey

get_accessKey(),
set_accessKey(value)

Gets or sets the access key that allows you to quickly navigate to the WebEditor.

clientObjectID

get_clientObjectID(),
set_clientObjectID(value)

Gets ID of the client-side object associated with the control.

editorMode

get_editorMode(),
set_editorMode(value)

Editor mode (WYSIWYG=0/Code=1/Split=2). Value for this property can be specified by string or Int value.

fullScreenMode

get_fullScreenMode(),
set_fullScreenMode(value)

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(),
set_fullScreenModeContainerId(value)

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
set_PreventBaseAbsoluteUrls

Prevents converting relative URLs to absolute URLs. The default vaule of this property.

showSpellCheckerDialog

get_showSpellCheckerDialog(),
set_showSpellCheckerDialog(value)

Indicates whether to show SpellChecker dialog or just allow a user to select suggestions from the context menu.

showTableBorders

get_showTableBorders(),
set_showTableBorders(value)

Show table borders in WYSIWYG mode.

text

get_text(), set_text(value)

Gets or sets WebEditor text.

wordWrap

get_wordWrap(),
set_wordWrap(value)

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");

 


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.
￿