Click or drag to resize
CMSEditableRegion Methods

The CMSEditableRegion type exposes the following members.

Methods
  NameDescription
Protected methodApplySettings
Creates child controls.
Protected methodCreateChildControls
Creates child controls.
(Overrides ControlCreateChildControls.)
Public methodGetContent
Returns the editable region content.
(Overrides CMSAbstractEditableControlGetContent.)
Protected methodGetContentID
Returns content identification for storage
(Inherited from CMSAbstractEditableControl.)
Public methodGetEditDialogParameters
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.)
Public methodGetSpellCheckFields
Returns the list of the field IDs (Client IDs of the inner controls) that should be spell checked.
(Overrides CMSAbstractEditableControlGetSpellCheckFields.)
Public methodIsValid
Returns true if entered data is valid. If data is invalid, it returns false and displays an error message.
(Overrides CMSAbstractEditableControlIsValid.)
Public methodLoadContent(String, Boolean)
Loads the region content.
(Overrides CMSAbstractEditableControlLoadContent(String, Boolean).)
Public methodLoadContent(PageInfo, Boolean)
Load the content to the region, applies the InheritContent.
(Inherited from CMSAbstractEditableControl.)
Protected methodOnLoad
Load event handler.
(Overrides ControlOnLoad(EventArgs).)
Protected methodOnPreRender
PreRender event handler.
(Overrides ControlOnPreRender(EventArgs).)
Protected methodRender
Renders the control.
(Overrides CMSAbstractEditableControlRender(HtmlTextWriter).)
Protected methodResolveMacros
Resolves the macros within current context.
(Inherited from CMSAbstractEditableControl.)
Public methodSaveContent
Saves the control content.
(Inherited from CMSAbstractEditableControl.)
Top
Extension Methods
  NameDescription
Public Extension MethodAddCssClass
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodCallHandled
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.)
Public Extension MethodGetCssClasses
Returns all CSS classes of control.
(Defined by ControlsExtensions.)
Public Extension MethodGetRenderedHTML
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by ControlsExtensions.)
Public Extension MethodHasCssClass
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodRemoveCssClass
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodSetCssClasses
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.)
Top
See Also