| Name |
Description |
ID
|
String. Component Id.
|
Height
|
Int. Editor component height in pixels. Default 400.
Optional
See also working example.
|
Width
|
Int. Editor component width in pixels.
Default value is set in style.css file in HC_div class
height property
(top of the CSS file).
Initialy it is set 100%.
Optional
See also working example.
|
MaxSuggestions
|
Int. Maximum of suggestions for each incorrect word
in Spell checker popup window. Default 25.
Optional
|
SpellCheckAutoComplete
|
Bool.
Gets or sets a value indicating whether to close the SpellChecker popup on spell checking
complete just after 'alert' window closed.
Default "false".
Optional
|
UpperSuggest
|
Bool.
Gets or sets a value indicating that suggestions of the spell checker should start with a letter in upper case.
Default "false".
Optional
|
Content
|
String. Editor's HTML content. Default empty. Optional
Preferably this property should be set and retrieved in Page_Load method of the Page.
If content can be changed on some callback events, use Page_PreRender method of the Page.
See also working example.
|
PlainText
|
String. Plain text of Editor's content. ReadOnly
See also working example.
|
CallbackContent
|
Bool.
Indicates that Editor's HTML content should be replaced with a value
passed on callback.
- true - content is replaced with a value passed on callback
- false - content callback is suppressed
Default "true".
Optional
See also working example.
|
Language
|
String. Language name used in Editor component.
Every accessible language name is corresponded with
<name>.xml file located in LocalizationFolder directory.
User can take file en.xml as a template
and create his own localization XML file for his native language
(for example de.xml).
Default "en".
Optional
See also working example.
|
LocalizationFolder
|
String. Path to directory with localization XML files.
Default "ed_localization".
Optional
|
ScriptFolder
|
String. Path to directory with JavaScript files. Default "ed_scripts". Optional
|
QuickFormatFolder
|
String. Path to directory with Quick Format CSS file. Default "ed_quickformat". Optional
|
QuickFormatFile
|
String. Name of Quick Format CSS file in QuickFormatFolder directory. Default "QuickFormat.css". Optional
See also working example
.
|
StyleFolder
|
String. Path to directory with Editor's style file and images. Default "ed_styles". Optional
|
StyleFile
|
String. Name of the Editor's style file in StyleFolder directory. Default "style.css". Optional
|
IconFolder
|
String. Path to directory with Editor's icons subdirectories.
Every such subdirectory name appears in TABs of Insert Icon popup window.
This window is opened on toolbar's Insert Icon button click.
Icon images are contained in these subdirectories.
Default "ed_icons". Optional
|
DictionariesFolder
|
String. Path to directory with Editor's spell checker dictionaries.
Default "ed_dictionaries". Optional
|
CustomDictionaryOnServer
|
Bool.
This property specifies the place where custom dictionary will be stored for the spell checker.
-
true - the dictionary will be stored in the server's directory specified with the DictionariesFolder property.
The name of the dictionary file is "user.dic", it will be common for all users.
-
false - the dictionary will be stored in client's cookie,
so it will be available for this user only.
Default "false". Optional
|
TemplateFolder
|
String. Path to directory with Editor's templates XML files.
Default "ed_templates". Optional
|
PathPrefix
|
String.
Path prefix for QuickFormatFolder, StyleFolder, DictionariesFolder, IconFolder and ScriptFolder directories.
Default empty.
Optional
editor.PathPrefix = "../"
See also How to set PathPrefix correctly?
|
Template
|
String. Name (without extension) of Editor's template XML file in TemplateFolder directory.
If you set this property, it should be set after PathPrefix and TemplateFolder properties.
Note: This property is ignored if used inside template XML file.
By default no template is used. Optional
See also working example.
|
ModeSwitch
|
Bool.
Indicates that user can switch the editing mode.
- true - user can use both Design and HTML text editing modes.
- false - user can use Design editing mode only
Depending on this value the corresponding mode switch buttons
will be shown or not
in the editor's bottom bar.
Default "true".
Optional
See also working example.
|
Submit
|
Bool.
Indicates that Submit button
will be shown or not
in the editor's bottom bar.
- true - show the Submit button
- false - don't show the Submit button
Default "true".
Optional
See also working example.
|
Cancel
|
Bool.
Indicates that Cancel button
will be shown or not
in the editor's bottom bar.
- true - show the Cancel button
- false - don't show the Cancel button
Default "false".
Optional
See also working example.
|
ClientCancel
|
String.
Name of client-side function that will be executed on Cancel button click.
This function has one parameter - client-side Editor object.
This function should return true if you want to continue Cancel operation
(ClickCancel server-side event is set).
If this function returns false the Cancel operation will be terminated.
See also working example.
|
PreviewMode
|
Bool.
Indicates that Preview button
will be shown or not
in the editor's bottom bar.
- true - show the Preview button
- false - don't show the Preview button
Default "false".
Optional
See also working example.
|
Show
|
Bool.
Indicates that Editor component will be initially shown on client side.
- true - component is shown initialy
- false - component isn't shown initialy
Default "true".
Optional
See also working example.
On client side the visibility of Editor's component can be changed
by setVisibility method.
See For JavaScript Developers.
|
ShowQuickFormat
|
Bool.
Indicates that Quick Formatting panel will be shown in Editor.
- true - is shown
- false - isn't shown
Default "true".
Optional
See also working example.
|
ShowAnchors
|
Bool.
Indicates that initialy special image will be shown in place of each Anchor in Editor's panel.
- true - is shown
- false - isn't shown
Default "true".
Optional
|
ShowPlaceHolders
|
Bool.
Indicates that initialy special image will be shown in place of each PlaceHolder in Editor's panel.
- true - is shown
- false - isn't shown
Default "true".
Optional
|
AutoFocus
|
Bool.
Indicates initial Editor focusing.
- true - get focus
- false - get no focus
Default "true".
Optional
See also working example.
|
AjaxWait
|
Bool.
Indicates that
"wait" image will appear in the middle of Editor
on MS ASP.NET AJAX post back till the final rerendering.
- true - "wait" image appears
- false - "wait" image doesn't appear
Default "true".
Optional
|
AjaxCurrentContent
|
Bool.
Indicates that Server-Side will get the current Editor's content
on MS ASP.NET AJAX post back
when Editor component is outside any UpdatePanel.
- true - current Editor's content will be sent to Server-Side.
Some time will be spent for this operation on Client-Side.
"Please wait..." message can appear in Editor
- false - Server-Side will not get the current Editor's content
Default "true".
Optional
|
NoScript
|
Bool.
Indicates that any Java Script code will be suppressed in Editor's content.
- true - Java Script code is suppressed
- false - Java Script code is not suppressed
Default "false".
Optional
|
NoUnicode
|
Bool.
Indicates that Editor's content will contain Unicode characters.
- false - Editor's content will contain Unicode characters
- true - Editor's content will contain &#code; instead of Unicode characters
Default "false".
Optional
|
SuppressTab
|
Bool.
Indicates that Editor will ignore Tab key in Design mode.
- true - ignores Tab key
- false - processes Tab key as a set of spaces
Default "false".
Optional
|
IgnoreTab
|
Bool.
Suppress Tab key navigation inside Editor control.
- true - Tab key doesn't navigate inside Editor
- false - navigation as usual
Default "false".
Optional
|
TabIndex
|
Int.
Value of 'tabindex' attribute to be used for editable panels ('Design', 'HTML text') of Editor control.
By default is not set.
Optional
|
FullHTML
|
Bool.
Indicates that Editor will generate its content as entire page HTML code
with <HTML>,
<HEAD> and
<BODY> tags.
- true - generates entire page HTML code
- false - generates <BODY>'s content only
Default "false".
Optional
See also working example.
|
DefaultStylesInHtml New
|
Bool.
Indicates whether to add default styles into content when FullHtml is on.
Default "true".
Optional
|
RemainLfOnSubmit
|
Bool.
Indicates whether Editor remain Line feed characters in submitted content.
- true - Line feed characters will be remained in content
- false - Line feed characters will be removed
Default "false".
Optional
|
Rtl
|
Bool.
Indicates that right to left direction of content is set initially.
- true - right to left
- false - left to right
Default "false".
Optional
See also working example.
|
ScrollIntoView
|
Bool.
Indicates that the top of Editor component will be visible on Page load.
It is usefull in large pages when Editor is far from page top.
- true - page scrolls to Editor if it is invisible
- false - page doesn't scroll to Editor if it is invisible
Default "false".
Optional
|
RelImgUrls
|
Bool.
Indicates manner of Images's src property representation when relative URL
was setted in Image properties popup window.
- true - relative URL
- false - absolute URL
Default "false".
Optional
|
CaretPosition
|
Bool.
Indicates caret position in content on Editor loaded.
- true - beginning of content
- false - end of content
Default "false".
Optional
See also working example.
|
NoDrop
|
Bool.
Prohibits any dropping to Editor's panel.
- true - dropping is prohibited
- false - dropping is not prohibited
Default "false".
Optional
|
NoPaste
|
Bool.
Prohibits any pasting (except Plain Text) to Editor's panel in Design mode.
- true - pasting is prohibited
- false - pasting is not prohibited
Default "false".
Optional
|
KeyboardEnabled
|
Bool.
Enables/disables using of keyboard keys (and text typing too) for Editor's panel in Design mode.
- true - enabled
- false - disabled
Default "true".
Optional
|
ClientValidation
|
Bool.
By default the RequiredFieldValidator validation control is supported with
EnableClientScript="True" only.
- true - enables supporting of all validation controls with EnableClientScript="True"
- false - enables supporting of the RequiredFieldValidator validation control with EnableClientScript="True" only
Default "false".
Optional
|
ModeHTML
|
Bool.
Sets initial editing mode on Editor loaded.
- true - HTML text mode
- false - Design mode
Default "false".
Optional
See also working example.
|
PreviewOnInit
|
Bool.
Sets Preview mode on Editor loaded.
Default "false".
Optional
See also working example.
|
FixedToolBar
|
Bool.
Indicates Editor's Tool bar behavior on case,
when buttons set can not be placed into the Tool bar in corpore.
It may be happened when width of Editor component is too small.
- true - area with extra buttons is hidden
- false - Tool bar is stretching and all vertical separators are ignored
Default "true".
Optional
See also working example.
|
ImageBrowse
|
String.
Specifies the name of page using for predefined images browsing.
See myImageBrowse.aspx in downloaded zip file.
Optional
See also working example.
|
UrlBrowse
|
String.
Specifies the name of page using for predefined URL Links browsing.
See myUrlBrowse.aspx in downloaded zip file.
Optional
See also working example.
|
Buttons
|
Collection of objects inherited from abstract OboutInc.Editor.Button.
See Custom toolbar.
|
Dictionaries
|
Collection of OboutInc.Editor.Dictionary objects.
See Dictionaries for Spell checker.
|
HotKeys
|
Collection of OboutInc.Editor.HotKey objects.
See Hot Keys definition.
|
FontNames
|
Collection of OboutInc.Editor.FontNamesItem objects.
See Custom fonts.
|
AddFontNames
|
Collection of OboutInc.Editor.FontNamesItem objects.
This collection of custom font names will be added to default Fonts set.
|
FontSizes
|
Collection of OboutInc.Editor.FontSizesItem objects.
See Custom font sizes.
|
AddFontSizes
|
Collection of OboutInc.Editor.FontSizesItem objects.
This collection of custom font sizes will be added to default Font sizes set.
|
OnClientContentChanged
|
String.
Name of client-side function called on each content change.
This function has one parameter, its members you can see in the following sample:
<ed:Editor id="editor" OnClientContentChanged="myFunc" runat="server" />
...
// Set values of some textboxes on each client-side Editor's content change
//
function myFunc(s)
{
// total length of HTML before content changed
document.getElementById("previousTotalHtml").value= s.previous.htmlTextLength;
// total length of plain text before content changed
document.getElementById("previousTotalPlain").value= s.previous.plainTextLength;
// total length of HTML after content changed
document.getElementById("currentTotalHtml") .value= s.current.htmlTextLength;
// total length of plain text after content changed
document.getElementById("currentTotalPlain") .value= s.current.plainTextLength;
}
Note: Use of this property makes Editor work a little slower for large content,
especially in FireFox.
By default no client-side function is called. Optional
See also working example.
|
ContextMenu
|
Collection of OboutInc.Editor.ContextMenuItem objects.
See Custom Context Menu.
|
DefaultContextMenu
|
Bool.
Enables/disables using of default Editor's context menu.
- true - enabled
- false - disabled
Default "true".Optional
When disabled Custom Context Menu
will be used only.
|
SuppressContextMenu
|
Collection of OboutInc.Editor.SuppressContextMenuItem objects.
See Context Menu items disabling.
|
InitialCleanUp
|
Bool.
Enables/disables inital(on load) cleanup of Editor's content like button
do.
It is actual for client-side setContent() function too.
- true - enabled
- false - disabled
Default "false".
Optional
|
DefaultFontFamily
|
String.
Specifies the default font family used in editing panel of Editor.
By default for this purpose is used
Editor_data/ed_styles/special/editor.css styles file.
Optional
See also working example.
|
DefaultFontSize
|
String.
Specifies the default font size used in editing panel of Editor.
By default for this purpose is used
Editor_data/ed_styles/special/editor.css styles file.
Optional
See also working example.
|
InsideOboutWindow
|
Bool.
This property should be set to "true" when Editor is used inside obout Window.
Default "false".
Optional
See also working example.
|
FontNotSet
|
Bool.
If this property is set to "true",
"Not set" will be shown in font dropdowns if font is not set manifestly.
Default "false".
Optional
|
ShowWaitMessage
|
Bool.
To show or not "Wait" message in Editor while content is loading or edit mode switching.
Default "true".
Optional
See also working example.
|
CausesValidation
|
Bool.
Indicates whether the control's submit causes page validation to occur.
Default "true".
Optional
|
ValidationGroup
|
String.
Name for the group of validation controls for which the control's submit causes validation when it posts back to the server.
This property has an effect only when the value of the CausesValidation property is set to true.
Default empty string ("").
Optional
|
AddCssFiles
|
Collection of OboutInc.Editor.CssFile objects.
See Additional CSS files.
|
Appearance
|
OboutInc.Editor.Editor.AppearanceType enumeration.
The Editor's appearance type. All possible values of the property:
- full - Full buttons set
- lite - Lite buttons set
- custom - Custom buttons set
Default "full".
Optional
See also working examples: full,
lite,
custom.
|