CMSEditableRegion

 

 

Please note:

 

This control is compatible only with ASPX page templates. On portal pages, use web part Editable text instead of this control.

 

 

 

The CMSEditableRegion control defines the part of the page that should be editable. It ensures displaying in both edit and view mode. The flow of data to/from CMSEditableRegion control is managed by CMSPageManager control. There must be just one CMSPageManager control and any number of CMSEditableRegion controls.

 

Data Source

 

Data is set/read by the CMSPageManager control. The CMSEditableRegion control doesn't communicate with database directly.

 

Properties

 

Property Name

Description

Sample Value

DialogHeight

Height of the control.

400

DialogWidth

Width of the control.

500

HtmlAreaToolbar

HTML editor toolbar set name.

"default"

HtmlAreaToolbarLocation

HTML editor toolbar location.


MaxLength

Maximum length of the content (in number of characters).

10

MinLength

Minimum length of the content (in number of characters).

2

RegionTitle

Control title which is displayed in the editable mode.

"Main text"

RegionType

Type of server control which is displayed in the editable region. It can be a textbox, textarea of HTML editor.

CMSEditableRegionTypeEnum.TextBox

WordWrap

Wrap the text if using text area field.


InheritContent

Indicates if content of the editable region should be inherited from the parent page (menu item) document.


 

Please note: the other properties are used by the CMSPageManager control only and shouldn't be modified in your code.

 

 

CSS Styles

 

Class Name

Description

CMSEditableRegionEdit

Style of the main <TABLE> element.

CMSEditableRegionTitle

Style of the <TD> element containing the title.

CMSEditableRegionError

Style of the <TD> element containing the error message.