CMSEditableRegion Class |
Namespace: CMS.DocumentEngine.Web.UI
public class CMSEditableRegion : CMSAbstractEditableControl, INamingContainer
The CMSEditableRegion type exposes the following members.
Name | Description | |
---|---|---|
CMSEditableRegion |
Constructor.
| |
CMSEditableRegion(IPageManager) |
Constructor, initializes the parent portal manager.
|
Name | Description | |
---|---|---|
lblError |
Error label.
| |
lblTitle |
Region title.
| |
ltlContent |
Region content.
| |
mHtmlAreaToolbar |
Html area toolbar name.
| |
mHtmlAreaToolbarLocation |
Html area toolbar location.
| |
mHtmlEditor |
HTMLEditor object.
| |
mUseStylesheet |
If set to true HTML editor uses stylesheet.
| |
pnlEditor |
Editor panel.
| |
txtValue |
TextBox editor object.
|
Name | Description | |
---|---|---|
CheckPermissions |
Gets or sets the value that indicates whether the permissions are checked.
(Inherited from CMSAbstractEditableControl.) | |
DialogHeight |
Height of the control. Max size can be MaxValue | |
DialogWidth |
Width of the control. Max size can be MaxValue | |
EditDialogWidth |
Edit dialog width which will be opened for editing of the editable control. Used in On-site editing.
(Inherited from CMSAbstractEditableControl.) | |
EditPageUrl |
Edit page url which will be used for editing of the editable control. Used in On-site editing.
(Overrides CMSAbstractEditableControlEditPageUrl.) | |
EmptyContent |
Indicates whether the control contains any editable content
(Inherited from CMSAbstractEditableControl.) | |
Enabled |
Control is enabled?
(Overrides WebControlEnabled.) | |
EnableViewState |
Whether the control automatically saves its state for use in round-trips.
(Overrides ControlEnableViewState.) | |
HtmlAreaToolbar |
HTML editor toolbar set name.
| |
HtmlAreaToolbarLocation |
HTML editor toolbar location.
| |
HtmlEditor |
HTML editor object.
| |
HTMLEditorCssStylesheet |
HTML editor css stylesheet.
| |
InheritContent |
If set, the region uses the content inheritance.
If the region content of the current document is empty then the content of the first non-empty parent is used.
Note: The editable region does not combine content of the current document with the content of the parent documents.
(Inherited from CMSAbstractEditableControl.) | |
InstanceGUID |
If set, the instance guid is used as a key for the editable control, making the content available on other documents which use the same page template with this control.
(Inherited from CMSAbstractEditableControl.) | |
MaxLength |
Maximum length of the content.
| |
MinLength |
Minimum length of the content.
| |
PageManager |
Page manager control.
(Inherited from CMSAbstractEditableControl.) | |
RegionTitle |
Control title which is displayed in the editable mode.
| |
RegionType |
Type of server control which is displayed in the editable region.
| |
ResizeToHeight |
Height the image should be automatically resized to after it is uploaded.
| |
ResizeToMaxSideSize |
Max side size the image should be automatically resized to after it is uploaded.
| |
ResizeToWidth |
Width the image should be automatically resized to after it is uploaded.
| |
SelectOnlyPublished |
If set, only published content is displayed on a live site.
(Inherited from CMSAbstractEditableControl.) | |
SourcePageInfo |
Gets the source page info
(Inherited from CMSAbstractEditableControl.) | |
TagKey |
Overrides the generation of the SPAN tag with custom tag.
(Overrides WebControlTagKey.) | |
UseInlineMode |
Indicates whether HTML editor is used in inline (no IFrame) mode.
| |
UseStylesheet |
If set to true HTML editor uses stylesheet.
| |
ViewMode |
Control view mode.
(Inherited from CMSAbstractEditableControl.) | |
WordWrap |
Wrap the text if using text area field.
|
Name | Description | |
---|---|---|
ApplySettings |
Creates child controls.
| |
CreateChildControls |
Creates child controls.
(Overrides ControlCreateChildControls.) | |
GetContent |
Returns the editable region content.
(Overrides CMSAbstractEditableControlGetContent.) | |
GetContentID |
Returns content identification for storage
(Inherited from CMSAbstractEditableControl.) | |
GetEditDialogParameters |
Gets the custom dialog parameters used in the On-site editing when opening the modal edit dialog.
The url parameters are in the following format: "name=value"
(Overrides CMSAbstractEditableControlGetEditDialogParameters.) | |
GetOnSiteTagConfiguration |
Creates configuration for on-site editting.
(Overrides CMSAbstractEditableControlGetOnSiteTagConfiguration.) | |
GetSpellCheckFields |
Returns the list of the field IDs (Client IDs of the inner controls) that should be spell checked.
(Overrides CMSAbstractEditableControlGetSpellCheckFields.) | |
IsValid |
Returns true if entered data is valid. If data is invalid, it returns false and displays an error message.
(Overrides CMSAbstractEditableControlIsValid.) | |
LoadContent(String, Boolean) |
Loads the region content.
(Overrides CMSAbstractEditableControlLoadContent(String, Boolean).) | |
LoadContent(PageInfo, Boolean) |
Load the content to the region, applies the InheritContent.
(Inherited from CMSAbstractEditableControl.) | |
OnLoad |
Load event handler.
(Overrides ControlOnLoad(EventArgs).) | |
OnPreRender |
PreRender event handler.
(Overrides ControlOnPreRender(EventArgs).) | |
Render |
Renders the control.
(Overrides CMSAbstractEditableControlRender(HtmlTextWriter).) | |
ResolveMacros |
Resolves the macros within current context.
(Inherited from CMSAbstractEditableControl.) | |
SaveContent |
Saves the control content.
(Inherited from CMSAbstractEditableControl.) |
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |