| CMSContent Class | 
Note: This API is now obsolete.
 Inheritance Hierarchy
Inheritance HierarchyNamespace: CMS.PortalEngine.Web.UI
 Syntax
Syntax[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
Constructors| Name | Description | |
|---|---|---|
|  | CMSContent | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | mContentRelocated | 
            True if the content was relocated to the placeholder (to prevent double relocation and clearing the content)
             | 
|  | mPagePlaceholder | 
            Parent page placeholder.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | IsLiveSite | 
            Indicates if control is used on live site.
            (Inherited from CMSPlaceHolder.) | 
|  | PagePlaceholder | 
            Parent page placeholder.
             | 
|  | PagePlaceholderID | 
            Target page placeholder ID.
             | 
|  | ShortID | 
            Short ID of the control.
            (Inherited from CMSPlaceHolder.) | 
|  | ShowWhenTargetNotFound | 
            If true, the content is displayed in case the target placeholder is found.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Append(String) | 
            Appends the given content to the placeholder
            (Inherited from CMSPlaceHolder.) | 
|  | Append(Control) | 
            Appends the given control to the placeholder
            (Inherited from CMSPlaceHolder.) | 
|  | Clear | 
            Clears the placeholder content
            (Inherited from CMSPlaceHolder.) | 
|  | FinishCurrent | 
            Appends the given content to the placeholder
            (Inherited from CMSPlaceHolder.) | 
|  | OnInit | 
            Init event handler.
            (Inherited from CMSPlaceHolder.) | 
|  | OnPreRender | 
            PreRender event handler
            (Inherited from CMSPlaceHolder.) | 
|  | RelocateContent | 
            Relocates the content to the appropriate placeholder.
             | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | 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.) | 
|  | GetString | 
            Gets the string by the specified resource key
            (Defined by ControlsExtensions.) | 
 See Also
See Also