CMSAbstractEditableControl Class |
Namespace: CMS.PortalEngine.Web.UI
public abstract class CMSAbstractEditableControl : WebControl, ICMSEditableControl, ISpellCheckableControl
The CMSAbstractEditableControl type exposes the following members.
Name | Description | |
---|---|---|
CMSAbstractEditableControl |
Constructor.
|
Name | Description | |
---|---|---|
EditDialogWidth |
Edit dialog width which will be opened for editing of the editable control. Used in On-site editing.
| |
EditPageUrl |
Edit page url which will be used for editing of the editable control. Used in On-site editing.
| |
EmptyContent |
Indicates whether the control contains any editable content
| |
CheckPermissions |
Gets or sets the value that indicates whether the permissions are checked.
| |
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.
| |
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.
| |
PageManager |
Page manager control.
| |
SelectOnlyPublished |
If set, only published content is displayed on a live site.
| |
SourcePageInfo |
Gets the source page info
| |
ViewMode |
Control view mode.
|
Name | Description | |
---|---|---|
GetContent |
Returns the current web part content.
| |
GetContentID |
Returns content identification for storage
| |
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"
| |
GetSpellCheckFields |
Returns the list of the field IDs (Client IDs of the inner controls) that should be spell checked.
| |
IsValid |
Returns true if entered data is valid. If data is invalid, it returns false and displays an error message.
| |
LoadContent(String, Boolean) |
Loads the control content.
| |
LoadContent(PageInfo, Boolean) |
Load the content to the region, applies the InheritContent.
| |
Render |
Renders the control to the specified HTML writer.
(Overrides WebControlRender(HtmlTextWriter).) | |
RequestEditViewMode |
Requests the view mode for the editable control
| |
ResolveMacros |
Resolves the macros within current context.
| |
SaveContent |
Saves the control content.
|
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.) |