Click or drag to resize
CMSContent Class

Note: This API is now obsolete.

Placeholder for the layout content targeted to a different placeholder.
Inheritance Hierarchy

Namespace: CMS.PortalEngine.Web.UI
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
[ObsoleteAttribute("This control is not fully tested and documented, therefore it is no longer recommended to use.")]
public class CMSContent : CMSPlaceHolder

The CMSContent type exposes the following members.

Constructors
  NameDescription
Public methodCMSContent
Top
Fields
  NameDescription
Protected fieldmContentRelocated
True if the content was relocated to the placeholder (to prevent double relocation and clearing the content)
Protected fieldmPagePlaceholder
Parent page placeholder.
Top
Properties
  NameDescription
Public propertyIsLiveSite
Indicates if control is used on live site.
(Inherited from CMSPlaceHolder.)
Public propertyPagePlaceholder
Parent page placeholder.
Public propertyPagePlaceholderID
Target page placeholder ID.
Public propertyShortID
Short ID of the control.
(Inherited from CMSPlaceHolder.)
Public propertyShowWhenTargetNotFound
If true, the content is displayed in case the target placeholder is found.
Top
Methods
  NameDescription
Public methodAppend(String)
Appends the given content to the placeholder
(Inherited from CMSPlaceHolder.)
Public methodAppend(Control)
Appends the given control to the placeholder
(Inherited from CMSPlaceHolder.)
Public methodClear
Clears the placeholder content
(Inherited from CMSPlaceHolder.)
Protected methodFinishCurrent
Appends the given content to the placeholder
(Inherited from CMSPlaceHolder.)
Protected methodOnInit
Init event handler.
(Inherited from CMSPlaceHolder.)
Protected methodOnPreRender
PreRender event handler
(Inherited from CMSPlaceHolder.)
Public methodRelocateContent
Relocates the content to the appropriate placeholder.
Top
Extension Methods
  NameDescription
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 MethodGetString
Gets the string by the specified resource key
(Defined by ControlsExtensions.)
Top
See Also